Update app.py
Browse files
app.py
CHANGED
@@ -961,7 +961,28 @@ with gr.Blocks(css=css_tech_theme) as demo:
|
|
961 |
</ul>
|
962 |
</div>
|
963 |
""",elem_id="overview")
|
964 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
965 |
with gr.TabItem("π€ Submission"):
|
966 |
gr.Markdown("""
|
967 |
<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);">
|
|
|
961 |
</ul>
|
962 |
</div>
|
963 |
""",elem_id="overview")
|
964 |
+
|
965 |
+
|
966 |
+
with gr.TabItem("π€ Submission-Pro"):
|
967 |
+
gr.Markdown("""
|
968 |
+
<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);">
|
969 |
+
<h2 style="color: #6a1b9a; text-align: center;">Submit Your Predictions</h2>
|
970 |
+
<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>
|
971 |
+
</div>
|
972 |
+
""")
|
973 |
+
with gr.Row(elem_id="submission-fields"):
|
974 |
+
file_input = gr.File(label="π Upload Prediction CSV for Mobile-MMLU-Pro", file_types=[".csv"], interactive=True,scale=1, min_width=12000)
|
975 |
+
model_name_input = gr.Textbox(label="π·οΈ Model Name", placeholder="Enter your model name",scale=1, min_width=800)
|
976 |
+
Team_name_input = gr.Textbox(label="π·οΈ Team Name", placeholder="Enter your Team name",scale=1, min_width=800)
|
977 |
+
|
978 |
+
with gr.Row(elem_id="submission-results"):
|
979 |
+
overall_accuracy_display = gr.Number(label="π Overall Accuracy (%)", interactive=False,scale=1,min_width=1200)
|
980 |
+
|
981 |
+
with gr.Row(elem_id="submission-buttons"):
|
982 |
+
eval_button_pro = gr.Button("π Evaluate",scale=1,min_width=1200)
|
983 |
+
submit_button_pro = gr.Button("π€ Prove and Submit to Leaderboard", elem_id="evaluation-status", visible=False,scale=1,min_width=1200)
|
984 |
+
eval_status = gr.Textbox(label="π οΈ Evaluation Status", interactive=False,scale=1,min_width=1200)
|
985 |
+
|
986 |
with gr.TabItem("π€ Submission"):
|
987 |
gr.Markdown("""
|
988 |
<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);">
|