Spaces:
Running
on
CPU Upgrade
Running
on
CPU Upgrade
Miaoran000
commited on
Commit
•
5a86006
1
Parent(s):
8135339
Update app.py
Browse filesremove `revision='hhem21'` after switching to branch hhem21 as main
app.py
CHANGED
@@ -24,7 +24,7 @@ except Exception:
|
|
24 |
try:
|
25 |
print(envs.EVAL_RESULTS_PATH)
|
26 |
snapshot_download(
|
27 |
-
repo_id=envs.RESULTS_REPO,
|
28 |
)
|
29 |
except Exception:
|
30 |
restart_space()
|
|
|
24 |
try:
|
25 |
print(envs.EVAL_RESULTS_PATH)
|
26 |
snapshot_download(
|
27 |
+
repo_id=envs.RESULTS_REPO, local_dir=envs.EVAL_RESULTS_PATH, repo_type="dataset", tqdm_class=None, etag_timeout=30
|
28 |
)
|
29 |
except Exception:
|
30 |
restart_space()
|