Update app.py
Browse files
app.py
CHANGED
@@ -1002,26 +1002,7 @@ with gr.Blocks(css=css_tech_theme) as demo:
|
|
1002 |
eval_button_pro = gr.Button("π Evaluate",scale=1,min_width=1200)
|
1003 |
submit_button_pro = gr.Button("π€ Prove and Submit to Leaderboard", elem_id="evaluation-status", visible=False,scale=1,min_width=1200)
|
1004 |
eval_status = gr.Textbox(label="π οΈ Evaluation Status", interactive=False,scale=1,min_width=1200)
|
1005 |
-
|
1006 |
-
with gr.TabItem("π€ Submission-New"):
|
1007 |
-
gr.Markdown("""
|
1008 |
-
<div class="submission-section" style="border: 3px solid #6a1b9a; padding: 20px; border-radius: 12px; box-shadow: 0 4px 10px rgba(106, 27, 154, 0.2);">
|
1009 |
-
<h2 style="color: #6a1b9a; text-align: center;">Submit Your Predictions</h2>
|
1010 |
-
<p style="font-size: 1.2em; color: #333; text-align: center;">Upload your prediction file and provide your model name to evaluate and optionally submit your results to the leaderboard.</p>
|
1011 |
-
</div>
|
1012 |
-
""")
|
1013 |
-
with gr.Row(elem_id="submission-fields"):
|
1014 |
-
file_input = gr.File(label="π Upload Prediction CSV for Mobile-MMLU-Pro", file_types=[".csv"], interactive=True,scale=1, min_width=12000)
|
1015 |
-
model_name_input = gr.Textbox(label="π·οΈ Model Name", placeholder="Enter your model name",scale=1, min_width=800)
|
1016 |
-
Team_name_input = gr.Textbox(label="π·οΈ Team Name", placeholder="Enter your Team name",scale=1, min_width=800)
|
1017 |
-
|
1018 |
-
with gr.Row(elem_id="submission-results"):
|
1019 |
-
overall_accuracy_display = gr.Number(label="π Overall Accuracy (%)", interactive=False,scale=1,min_width=1200)
|
1020 |
-
|
1021 |
-
with gr.Row(elem_id="submission-buttons"):
|
1022 |
-
eval_button_pro = gr.Button("π Evaluate",scale=1,min_width=1200)
|
1023 |
-
submit_button_pro = gr.Button("π€ Prove and Submit to Leaderboard", elem_id="evaluation-status", visible=False,scale=1,min_width=1200)
|
1024 |
-
eval_status = gr.Textbox(label="π οΈ Evaluation Status", interactive=False,scale=1,min_width=1200)
|
1025 |
|
1026 |
|
1027 |
|
|
|
1002 |
eval_button_pro = gr.Button("π Evaluate",scale=1,min_width=1200)
|
1003 |
submit_button_pro = gr.Button("π€ Prove and Submit to Leaderboard", elem_id="evaluation-status", visible=False,scale=1,min_width=1200)
|
1004 |
eval_status = gr.Textbox(label="π οΈ Evaluation Status", interactive=False,scale=1,min_width=1200)
|
1005 |
+
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1006 |
|
1007 |
|
1008 |
|