Spaces:
Sleeping
Sleeping
fix auth
Browse files- start_app.py +1 -1
start_app.py
CHANGED
|
@@ -67,7 +67,7 @@ def run(src, config, split, dst, query, oauth_token: gr.OAuthToken | None, profi
|
|
| 67 |
"spaceId": spaceId,
|
| 68 |
"arguments": args,
|
| 69 |
"command": CMD,
|
| 70 |
-
"environment": {},
|
| 71 |
"flavor": "cpu-basic"
|
| 72 |
},
|
| 73 |
headers={"Authorization": f"Bearer {token}"}
|
|
|
|
| 67 |
"spaceId": spaceId,
|
| 68 |
"arguments": args,
|
| 69 |
"command": CMD,
|
| 70 |
+
"environment": {"HF_TOKEN": token},
|
| 71 |
"flavor": "cpu-basic"
|
| 72 |
},
|
| 73 |
headers={"Authorization": f"Bearer {token}"}
|