Upload folder using huggingface_hub
Browse files- gradio_app.py +4 -4
gradio_app.py
CHANGED
@@ -172,10 +172,10 @@ def format_leaderboard(df,sort_by="F1 Score"):
|
|
172 |
# Run the async function in an event loop
|
173 |
|
174 |
|
175 |
-
lb_1 = asyncio.run(fetch_leaderboard(phase=1))
|
176 |
-
lb_2 = asyncio.run(fetch_leaderboard(phase=2))
|
177 |
-
leaderboard_df_1 = format_leaderboard(lb_1)
|
178 |
-
leaderboard_df_2 = format_leaderboard(lb_2)
|
179 |
#leaderboard_df_1 = None
|
180 |
#leaderboard_df_2 = None
|
181 |
|
|
|
172 |
# Run the async function in an event loop
|
173 |
|
174 |
|
175 |
+
#lb_1 = asyncio.run(fetch_leaderboard(phase=1))
|
176 |
+
#lb_2 = asyncio.run(fetch_leaderboard(phase=2))
|
177 |
+
#leaderboard_df_1 = format_leaderboard(lb_1)
|
178 |
+
#leaderboard_df_2 = format_leaderboard(lb_2)
|
179 |
#leaderboard_df_1 = None
|
180 |
#leaderboard_df_2 = None
|
181 |
|