Spaces:
Running
Running
Merge remote-tracking branch 'xdolez52/main'
Browse files
app.py
CHANGED
@@ -89,7 +89,7 @@ def process_submission(*inputs):
|
|
89 |
gr.update(interactive=True, visible=True),
|
90 |
gr.update(visible=True),
|
91 |
gr.update(
|
92 |
-
value=leaderboard_server.get_leaderboard(leaderboard_server.pre_submit
|
93 |
visible=True,
|
94 |
datatype="markdown",
|
95 |
elem_classes="leaderboard-table",
|
@@ -151,7 +151,6 @@ def hide_modal():
|
|
151 |
|
152 |
|
153 |
def on_application_load():
|
154 |
-
leaderboard_server.save_pre_submit()
|
155 |
leaderboard_server.update_leaderboard()
|
156 |
return (
|
157 |
gr.DataFrame(value=leaderboard_server.get_leaderboard(category=leaderboard_server.tasks_category_overall), visible=True),
|
@@ -281,7 +280,7 @@ with gr.Blocks(theme=gr.themes.Soft(text_size=text_md), css=custom_css) as main:
|
|
281 |
)
|
282 |
submission_inputs["parameters"] = gr.Number(
|
283 |
label='Parameters (B)',
|
284 |
-
value=0.
|
285 |
step=0.01,
|
286 |
)
|
287 |
|
|
|
89 |
gr.update(interactive=True, visible=True),
|
90 |
gr.update(visible=True),
|
91 |
gr.update(
|
92 |
+
value=leaderboard_server.get_leaderboard(leaderboard_server.pre_submit.tournament_results),
|
93 |
visible=True,
|
94 |
datatype="markdown",
|
95 |
elem_classes="leaderboard-table",
|
|
|
151 |
|
152 |
|
153 |
def on_application_load():
|
|
|
154 |
leaderboard_server.update_leaderboard()
|
155 |
return (
|
156 |
gr.DataFrame(value=leaderboard_server.get_leaderboard(category=leaderboard_server.tasks_category_overall), visible=True),
|
|
|
280 |
)
|
281 |
submission_inputs["parameters"] = gr.Number(
|
282 |
label='Parameters (B)',
|
283 |
+
value=0.01,
|
284 |
step=0.01,
|
285 |
)
|
286 |
|