Spaces:
Runtime error
Runtime error
Commit
·
2c260e3
1
Parent(s):
a39a98e
Test commit
Browse files
app.py
CHANGED
|
@@ -47,7 +47,7 @@ except Exception:
|
|
| 47 |
restart_space()
|
| 48 |
try:
|
| 49 |
print(EVAL_RESULTS_PATH)
|
| 50 |
-
snapshot_download(
|
| 51 |
repo_id=RESULTS_REPO,
|
| 52 |
local_dir=EVAL_RESULTS_PATH,
|
| 53 |
repo_type="dataset",
|
|
@@ -55,6 +55,7 @@ try:
|
|
| 55 |
etag_timeout=30,
|
| 56 |
token=TOKEN,
|
| 57 |
)
|
|
|
|
| 58 |
except Exception:
|
| 59 |
restart_space()
|
| 60 |
|
|
|
|
| 47 |
restart_space()
|
| 48 |
try:
|
| 49 |
print(EVAL_RESULTS_PATH)
|
| 50 |
+
path = snapshot_download(
|
| 51 |
repo_id=RESULTS_REPO,
|
| 52 |
local_dir=EVAL_RESULTS_PATH,
|
| 53 |
repo_type="dataset",
|
|
|
|
| 55 |
etag_timeout=30,
|
| 56 |
token=TOKEN,
|
| 57 |
)
|
| 58 |
+
print("Downloaded results to", path)
|
| 59 |
except Exception:
|
| 60 |
restart_space()
|
| 61 |
|