Update app.py
Browse files
app.py
CHANGED
@@ -539,16 +539,16 @@ with gr.Blocks(css=css_tech_theme) as demo:
|
|
539 |
</div>
|
540 |
""")
|
541 |
with gr.Row(elem_id="submission-fields"):
|
542 |
-
file_input = gr.File(label="Upload Prediction CSV", file_types=[".csv"], interactive=True,scale=1,
|
543 |
-
model_name_input = gr.Textbox(label="Model Name", placeholder="Enter your model name",scale=1,
|
544 |
|
545 |
with gr.Row(elem_id="submission-results"):
|
546 |
-
overall_accuracy_display = gr.Number(label="Overall Accuracy", interactive=False,scale=1,
|
547 |
|
548 |
with gr.Row(elem_id="submission-buttons"):
|
549 |
-
eval_button = gr.Button("Evaluate",scale=1,
|
550 |
-
submit_button = gr.Button("Prove and Submit to Leaderboard", elem_id="evaluation-status", visible=False,scale=1,
|
551 |
-
eval_status = gr.Textbox(label="Evaluation Status", interactive=False,scale=1,
|
552 |
|
553 |
# Define the functions outside the `with` block
|
554 |
def handle_evaluation(file, model_name):
|
|
|
539 |
</div>
|
540 |
""")
|
541 |
with gr.Row(elem_id="submission-fields"):
|
542 |
+
file_input = gr.File(label="Upload Prediction CSV", file_types=[".csv"], interactive=True,scale=1, min_width=12000)
|
543 |
+
model_name_input = gr.Textbox(label="Model Name", placeholder="Enter your model name",scale=1, min_width=800)
|
544 |
|
545 |
with gr.Row(elem_id="submission-results"):
|
546 |
+
overall_accuracy_display = gr.Number(label="Overall Accuracy", interactive=False,scale=1,min_width=1200)
|
547 |
|
548 |
with gr.Row(elem_id="submission-buttons"):
|
549 |
+
eval_button = gr.Button("Evaluate",scale=1,min_width=1200)
|
550 |
+
submit_button = gr.Button("Prove and Submit to Leaderboard", elem_id="evaluation-status", visible=False,scale=1,min_width=1200)
|
551 |
+
eval_status = gr.Textbox(label="Evaluation Status", interactive=False,scale=1,min_width=1200)
|
552 |
|
553 |
# Define the functions outside the `with` block
|
554 |
def handle_evaluation(file, model_name):
|