Spaces:
Running
on
CPU Upgrade
Running
on
CPU Upgrade
lixuejing
commited on
Commit
·
f3a3281
1
Parent(s):
e6827ef
add log
Browse files
app.py
CHANGED
|
@@ -52,6 +52,10 @@ def init_space():
|
|
| 52 |
repo_id=QUEUE_REPO, local_dir=EVAL_REQUESTS_PATH, repo_type="dataset", tqdm_class=None, etag_timeout=30
|
| 53 |
)
|
| 54 |
except Exception:
|
|
|
|
|
|
|
|
|
|
|
|
|
| 55 |
restart_space()
|
| 56 |
try:
|
| 57 |
print(DYNAMIC_INFO_PATH)
|
|
@@ -59,6 +63,10 @@ def init_space():
|
|
| 59 |
repo_id=DYNAMIC_INFO_REPO, local_dir=DYNAMIC_INFO_PATH, repo_type="dataset", tqdm_class=None, etag_timeout=30
|
| 60 |
)
|
| 61 |
except Exception:
|
|
|
|
|
|
|
|
|
|
|
|
|
| 62 |
restart_space()
|
| 63 |
try:
|
| 64 |
print(EVAL_RESULTS_PATH)
|
|
@@ -70,7 +78,7 @@ def init_space():
|
|
| 70 |
print("EVAL_RESULTS exception", traceback.format_exc())
|
| 71 |
import time
|
| 72 |
time.sleep(25)
|
| 73 |
-
|
| 74 |
|
| 75 |
|
| 76 |
raw_data, original_df = get_leaderboard_df(
|
|
|
|
| 52 |
repo_id=QUEUE_REPO, local_dir=EVAL_REQUESTS_PATH, repo_type="dataset", tqdm_class=None, etag_timeout=30
|
| 53 |
)
|
| 54 |
except Exception:
|
| 55 |
+
import traceback
|
| 56 |
+
print("EVAL_REQUEST exception", traceback.format_exc())
|
| 57 |
+
import time
|
| 58 |
+
time.sleep(25)
|
| 59 |
restart_space()
|
| 60 |
try:
|
| 61 |
print(DYNAMIC_INFO_PATH)
|
|
|
|
| 63 |
repo_id=DYNAMIC_INFO_REPO, local_dir=DYNAMIC_INFO_PATH, repo_type="dataset", tqdm_class=None, etag_timeout=30
|
| 64 |
)
|
| 65 |
except Exception:
|
| 66 |
+
import traceback
|
| 67 |
+
print("dynamic_info exception", traceback.format_exc())
|
| 68 |
+
import time
|
| 69 |
+
time.sleep(25)
|
| 70 |
restart_space()
|
| 71 |
try:
|
| 72 |
print(EVAL_RESULTS_PATH)
|
|
|
|
| 78 |
print("EVAL_RESULTS exception", traceback.format_exc())
|
| 79 |
import time
|
| 80 |
time.sleep(25)
|
| 81 |
+
restart_space()
|
| 82 |
|
| 83 |
|
| 84 |
raw_data, original_df = get_leaderboard_df(
|