Spaces:
Running
Running
Update app.py
Browse files
app.py
CHANGED
|
@@ -34,30 +34,30 @@ def restart_space():
|
|
| 34 |
|
| 35 |
|
| 36 |
### Space initialisation
|
| 37 |
-
try:
|
| 38 |
-
|
| 39 |
-
|
| 40 |
-
|
| 41 |
-
|
| 42 |
-
|
| 43 |
-
|
| 44 |
-
|
| 45 |
-
|
| 46 |
-
|
| 47 |
-
except Exception:
|
| 48 |
-
|
| 49 |
-
try:
|
| 50 |
-
|
| 51 |
-
|
| 52 |
-
|
| 53 |
-
|
| 54 |
-
|
| 55 |
-
|
| 56 |
-
|
| 57 |
-
|
| 58 |
-
|
| 59 |
-
except Exception:
|
| 60 |
-
|
| 61 |
|
| 62 |
|
| 63 |
LEADERBOARD_DF = get_leaderboard_df(
|
|
|
|
| 34 |
|
| 35 |
|
| 36 |
### Space initialisation
|
| 37 |
+
# try:
|
| 38 |
+
# print(EVAL_REQUESTS_PATH)
|
| 39 |
+
# snapshot_download(
|
| 40 |
+
# repo_id=QUEUE_REPO,
|
| 41 |
+
# local_dir=EVAL_REQUESTS_PATH,
|
| 42 |
+
# repo_type="dataset",
|
| 43 |
+
# tqdm_class=None,
|
| 44 |
+
# etag_timeout=30,
|
| 45 |
+
# token=TOKEN,
|
| 46 |
+
# )
|
| 47 |
+
# except Exception:
|
| 48 |
+
# restart_space()
|
| 49 |
+
# try:
|
| 50 |
+
# print(EVAL_RESULTS_PATH)
|
| 51 |
+
# snapshot_download(
|
| 52 |
+
# repo_id=RESULTS_REPO,
|
| 53 |
+
# local_dir=EVAL_RESULTS_PATH,
|
| 54 |
+
# repo_type="dataset",
|
| 55 |
+
# tqdm_class=None,
|
| 56 |
+
# etag_timeout=30,
|
| 57 |
+
# token=TOKEN,
|
| 58 |
+
# )
|
| 59 |
+
# except Exception:
|
| 60 |
+
# restart_space()
|
| 61 |
|
| 62 |
|
| 63 |
LEADERBOARD_DF = get_leaderboard_df(
|