Spaces:
Runtime error
Runtime error
minhopark-neubla
commited on
Commit
•
9614796
1
Parent(s):
fc57036
Remove try exception to catch error
Browse files
app.py
CHANGED
@@ -45,19 +45,19 @@ def restart_space():
|
|
45 |
|
46 |
def init_space():
|
47 |
|
48 |
-
try:
|
49 |
-
|
50 |
-
|
51 |
-
|
52 |
-
|
53 |
-
|
54 |
-
|
55 |
-
|
56 |
-
|
57 |
-
|
58 |
-
except Exception as e:
|
59 |
-
|
60 |
-
|
61 |
|
62 |
raw_data, original_df = get_leaderboard_df(
|
63 |
results_path=EVAL_RESULTS_PATH, cols=COLS, benchmark_cols=BENCHMARK_COLS
|
|
|
45 |
|
46 |
def init_space():
|
47 |
|
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",
|
54 |
+
tqdm_class=None,
|
55 |
+
etag_timeout=60,
|
56 |
+
resume_download=True,
|
57 |
+
)
|
58 |
+
# except Exception as e:
|
59 |
+
# print(e)
|
60 |
+
# restart_space()
|
61 |
|
62 |
raw_data, original_df = get_leaderboard_df(
|
63 |
results_path=EVAL_RESULTS_PATH, cols=COLS, benchmark_cols=BENCHMARK_COLS
|