lhoestq HF Staff commited on
Commit
9088a0f
·
1 Parent(s): 2f5472b
Files changed (1) hide show
  1. 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}"}