Spaces:
Running
on
CPU Upgrade
Running
on
CPU Upgrade
Clean up
Browse files
app.py
CHANGED
@@ -63,16 +63,6 @@ try:
|
|
63 |
except Exception:
|
64 |
restart_space()
|
65 |
|
66 |
-
LEADERBOARD_DF = get_leaderboard_df(EVAL_RESULTS_PATH, EVAL_REQUESTS_PATH, COLS, BENCHMARK_COLS)
|
67 |
-
original_df = LEADERBOARD_DF
|
68 |
-
leaderboard_df = original_df.copy()
|
69 |
-
(
|
70 |
-
finished_eval_queue_df,
|
71 |
-
running_eval_queue_df,
|
72 |
-
pending_eval_queue_df,
|
73 |
-
failed_eval_queue_df,
|
74 |
-
) = get_evaluation_queue_df(EVAL_REQUESTS_PATH, EVAL_COLS)
|
75 |
-
|
76 |
|
77 |
# Searching and filtering
|
78 |
def update_table(
|
@@ -257,6 +247,16 @@ def filter_models(
|
|
257 |
|
258 |
# Prepare leaderboard dataframes
|
259 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
260 |
leaderboard_df = filter_models(
|
261 |
leaderboard_df,
|
262 |
[t.to_str(" : ") for t in ModelType],
|
|
|
63 |
except Exception:
|
64 |
restart_space()
|
65 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
66 |
|
67 |
# Searching and filtering
|
68 |
def update_table(
|
|
|
247 |
|
248 |
# Prepare leaderboard dataframes
|
249 |
|
250 |
+
LEADERBOARD_DF = get_leaderboard_df(EVAL_RESULTS_PATH, EVAL_REQUESTS_PATH, COLS, BENCHMARK_COLS)
|
251 |
+
original_df = LEADERBOARD_DF
|
252 |
+
leaderboard_df = original_df.copy()
|
253 |
+
(
|
254 |
+
finished_eval_queue_df,
|
255 |
+
running_eval_queue_df,
|
256 |
+
pending_eval_queue_df,
|
257 |
+
failed_eval_queue_df,
|
258 |
+
) = get_evaluation_queue_df(EVAL_REQUESTS_PATH, EVAL_COLS)
|
259 |
+
|
260 |
leaderboard_df = filter_models(
|
261 |
leaderboard_df,
|
262 |
[t.to_str(" : ") for t in ModelType],
|