Spaces:
Running
on
CPU Upgrade
Running
on
CPU Upgrade
Nathan Habib
commited on
Commit
•
551debe
1
Parent(s):
409034f
dumps models list in a file
Browse files
app.py
CHANGED
@@ -94,6 +94,13 @@ else:
|
|
94 |
original_df = get_leaderboard_df(eval_results, eval_results_private, COLS, BENCHMARK_COLS)
|
95 |
models = original_df["model_name_for_query"].tolist() # needed for model backlinks in their to the leaderboard
|
96 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
97 |
leaderboard_df = original_df.copy()
|
98 |
(
|
99 |
finished_eval_queue_df,
|
|
|
94 |
original_df = get_leaderboard_df(eval_results, eval_results_private, COLS, BENCHMARK_COLS)
|
95 |
models = original_df["model_name_for_query"].tolist() # needed for model backlinks in their to the leaderboard
|
96 |
|
97 |
+
to_be_dumped = f"models = {repr(models)}\n"
|
98 |
+
|
99 |
+
with open("models_backlinks.py", "w") as f:
|
100 |
+
f.write(to_be_dumped)
|
101 |
+
|
102 |
+
print(to_be_dumped)
|
103 |
+
|
104 |
leaderboard_df = original_df.copy()
|
105 |
(
|
106 |
finished_eval_queue_df,
|