SondosMB commited on
Commit
d0dba04
Β·
verified Β·
1 Parent(s): da61d55

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +6 -6
app.py CHANGED
@@ -442,16 +442,16 @@ with gr.Blocks(css=css_tech_theme) as demo:
442
  </div>
443
  """)
444
  with gr.Row(elem_id="submission-fields"):
445
- file_input = gr.File(label="Upload Prediction CSV", file_types=[".csv"], interactive=True,scale=1, min_width=12000)
446
- model_name_input = gr.Textbox(label="Model Name", placeholder="Enter your model name",scale=1, min_width=800)
447
 
448
  with gr.Row(elem_id="submission-results"):
449
- overall_accuracy_display = gr.Number(label="Overall Accuracy", interactive=False,scale=1,min_width=1200)
450
 
451
  with gr.Row(elem_id="submission-buttons"):
452
- eval_button = gr.Button("Evaluate",scale=1,min_width=1200)
453
- submit_button = gr.Button("Prove and Submit to Leaderboard", elem_id="evaluation-status", visible=False,scale=1,min_width=1200)
454
- eval_status = gr.Textbox(label="Evaluation Status", interactive=False,scale=1,min_width=1200)
455
 
456
  # Define the functions outside the `with` block
457
  def handle_evaluation(file, model_name):
 
442
  </div>
443
  """)
444
  with gr.Row(elem_id="submission-fields"):
445
+ file_input = gr.File(label="πŸ“‚ Upload Prediction CSV", file_types=[".csv"], interactive=True,scale=1, min_width=12000)
446
+ model_name_input = gr.Textbox(label="🏷️ Model Name", placeholder="Enter your model name",scale=1, min_width=800)
447
 
448
  with gr.Row(elem_id="submission-results"):
449
+ overall_accuracy_display = gr.Number(label="πŸ“Š Overall Accuracy (%)", interactive=False,scale=1,min_width=1200)
450
 
451
  with gr.Row(elem_id="submission-buttons"):
452
+ eval_button = gr.Button("πŸ“ˆ Evaluate",scale=1,min_width=1200)
453
+ submit_button = gr.Button("πŸ“€ Prove and Submit to Leaderboard", elem_id="evaluation-status", visible=False,scale=1,min_width=1200)
454
+ eval_status = gr.Textbox(label="πŸ› οΈ Evaluation Status", interactive=False,scale=1,min_width=1200)
455
 
456
  # Define the functions outside the `with` block
457
  def handle_evaluation(file, model_name):