Spaces:
Running
Running
fix
Browse files
app.py
CHANGED
@@ -36,22 +36,22 @@ def restart_space():
|
|
36 |
|
37 |
|
38 |
### Space initialisation
|
39 |
-
try:
|
40 |
-
|
41 |
-
|
42 |
-
|
43 |
-
|
44 |
-
|
45 |
-
except Exception:
|
46 |
-
|
47 |
-
try:
|
48 |
-
|
49 |
-
|
50 |
-
|
51 |
-
|
52 |
-
|
53 |
-
except Exception:
|
54 |
-
|
55 |
|
56 |
# # LEADERBOARD_DF = get_leaderboard_df(EVAL_RESULTS_PATH, EVAL_REQUESTS_PATH, COLS, BENCHMARK_COLS)
|
57 |
# df = pd.read_csv('LOTSAv2_EvalBenchmark(Long).csv')
|
@@ -102,6 +102,7 @@ def init_leaderboard(dataframe):
|
|
102 |
default_selection=list(dataframe.columns),
|
103 |
cant_deselect=['model'],
|
104 |
label="Select Datasets to Display:",
|
|
|
105 |
),
|
106 |
|
107 |
search_columns=['model'],
|
|
|
36 |
|
37 |
|
38 |
### Space initialisation
|
39 |
+
# try:
|
40 |
+
# print(EVAL_REQUESTS_PATH)
|
41 |
+
# snapshot_download(
|
42 |
+
# repo_id=QUEUE_REPO, local_dir=EVAL_REQUESTS_PATH, repo_type="dataset", tqdm_class=None, etag_timeout=30,
|
43 |
+
# token=TOKEN
|
44 |
+
# )
|
45 |
+
# except Exception:
|
46 |
+
# restart_space()
|
47 |
+
# try:
|
48 |
+
# print(EVAL_RESULTS_PATH)
|
49 |
+
# snapshot_download(
|
50 |
+
# repo_id=RESULTS_REPO, local_dir=EVAL_RESULTS_PATH, repo_type="dataset", tqdm_class=None, etag_timeout=30,
|
51 |
+
# token=TOKEN
|
52 |
+
# )
|
53 |
+
# except Exception:
|
54 |
+
# restart_space()
|
55 |
|
56 |
# # LEADERBOARD_DF = get_leaderboard_df(EVAL_RESULTS_PATH, EVAL_REQUESTS_PATH, COLS, BENCHMARK_COLS)
|
57 |
# df = pd.read_csv('LOTSAv2_EvalBenchmark(Long).csv')
|
|
|
102 |
default_selection=list(dataframe.columns),
|
103 |
cant_deselect=['model'],
|
104 |
label="Select Datasets to Display:",
|
105 |
+
# How to uncheck??
|
106 |
),
|
107 |
|
108 |
search_columns=['model'],
|