Spaces:
Running
Running
Update app.py
Browse files
app.py
CHANGED
|
@@ -373,19 +373,19 @@ def create_ui():
|
|
| 373 |
with gr.Tab("📊 Metrics"):
|
| 374 |
render_eval_info()
|
| 375 |
|
| 376 |
-
|
| 377 |
-
|
| 378 |
-
|
| 379 |
-
|
| 380 |
-
|
| 381 |
-
|
| 382 |
-
|
| 383 |
-
submit_button.click(
|
| 384 |
-
|
| 385 |
-
|
| 386 |
-
|
| 387 |
-
|
| 388 |
-
)
|
| 389 |
|
| 390 |
# Add a hidden progress component to trigger the loading spinner explicitly if needed,
|
| 391 |
# but the default behavior of outputs updating should show it.
|
|
|
|
| 373 |
with gr.Tab("📊 Metrics"):
|
| 374 |
render_eval_info()
|
| 375 |
|
| 376 |
+
# with gr.Tab("📤 Submit your own system !"):
|
| 377 |
+
# with gr.Column():
|
| 378 |
+
# gr.Markdown("## Submit your system's predictions")
|
| 379 |
+
# name_input = gr.Textbox(label="Team Name")
|
| 380 |
+
# file_input = gr.File(label="Upload predictions CSV (ID,Labels)", type="binary")
|
| 381 |
+
# submit_button = gr.Button("Submit and Update Leaderboard")
|
| 382 |
+
# submission_output = gr.Markdown()
|
| 383 |
+
# submit_button.click(
|
| 384 |
+
# fn=submit_and_update_leaderboard,
|
| 385 |
+
# inputs=[name_input, file_input],
|
| 386 |
+
# outputs=[submission_output, leaderboard_table],
|
| 387 |
+
# show_progress=True
|
| 388 |
+
# )
|
| 389 |
|
| 390 |
# Add a hidden progress component to trigger the loading spinner explicitly if needed,
|
| 391 |
# but the default behavior of outputs updating should show it.
|