Spaces:
Runtime error
Runtime error
Update app.py
Browse files
app.py
CHANGED
|
@@ -120,7 +120,7 @@ def get_or_load_model():
|
|
| 120 |
checkpoint_path = hf_hub_download(
|
| 121 |
repo_id=MODEL_REPO,
|
| 122 |
filename=LORA_FILE ,
|
| 123 |
-
token=os.environ["
|
| 124 |
)
|
| 125 |
|
| 126 |
state = load_file(checkpoint_path, device="cpu")
|
|
|
|
| 120 |
checkpoint_path = hf_hub_download(
|
| 121 |
repo_id=MODEL_REPO,
|
| 122 |
filename=LORA_FILE ,
|
| 123 |
+
token=os.environ["HF_TOKEN"],
|
| 124 |
)
|
| 125 |
|
| 126 |
state = load_file(checkpoint_path, device="cpu")
|