Update app.py
Browse files
app.py
CHANGED
@@ -309,16 +309,15 @@ def evaluate_predictions(prediction_file, model_name, add_to_leaderboard):
|
|
309 |
|
310 |
initialize_leaderboard_file()
|
311 |
|
312 |
-
|
313 |
with gr.Blocks() as demo:
|
314 |
gr.Markdown("""
|
315 |
# Competition Title
|
316 |
### Welcome to the Competition Overview
|
317 |
-
|
318 |
-
|
|
|
319 |
Here you can submit your predictions, view the leaderboard, and track your performance!
|
320 |
""")
|
321 |
-
|
322 |
|
323 |
with gr.Tabs():
|
324 |
with gr.TabItem("π Overview"):
|
@@ -378,11 +377,11 @@ Check the leaderboard for real-time rankings.
|
|
378 |
For questions or support, contact us at: [Insert Email Address]
|
379 |
""")
|
380 |
|
381 |
-
|
382 |
with gr.Row():
|
383 |
file_input = gr.File(label="Upload Prediction CSV", file_types=[".csv"], interactive=True)
|
384 |
model_name_input = gr.Textbox(label="Model Name", placeholder="Enter your model name")
|
385 |
-
|
386 |
with gr.Row():
|
387 |
overall_accuracy_display = gr.Number(label="Overall Accuracy", interactive=False)
|
388 |
add_to_leaderboard_checkbox = gr.Checkbox(label="Add to Leaderboard?", value=True)
|
|
|
309 |
|
310 |
initialize_leaderboard_file()
|
311 |
|
|
|
312 |
with gr.Blocks() as demo:
|
313 |
gr.Markdown("""
|
314 |
# Competition Title
|
315 |
### Welcome to the Competition Overview
|
316 |
+

|
317 |
+
|
318 |
+
)
|
319 |
Here you can submit your predictions, view the leaderboard, and track your performance!
|
320 |
""")
|
|
|
321 |
|
322 |
with gr.Tabs():
|
323 |
with gr.TabItem("π Overview"):
|
|
|
377 |
For questions or support, contact us at: [Insert Email Address]
|
378 |
""")
|
379 |
|
380 |
+
with gr.TabItem("π€ Submission"):
|
381 |
with gr.Row():
|
382 |
file_input = gr.File(label="Upload Prediction CSV", file_types=[".csv"], interactive=True)
|
383 |
model_name_input = gr.Textbox(label="Model Name", placeholder="Enter your model name")
|
384 |
+
|
385 |
with gr.Row():
|
386 |
overall_accuracy_display = gr.Number(label="Overall Accuracy", interactive=False)
|
387 |
add_to_leaderboard_checkbox = gr.Checkbox(label="Add to Leaderboard?", value=True)
|