SondosMB commited on
Commit
3898c96
Β·
verified Β·
1 Parent(s): 30cb266

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +7 -7
app.py CHANGED
@@ -499,8 +499,8 @@ with gr.Blocks(css=css_tech_theme) as demo:
499
  with gr.Tabs(elem_id="tabs"):
500
  # Overview Tab
501
  with gr.TabItem("πŸ“– Overview"):
502
- gr.Markdown("""
503
- <div class="tabs">
504
  <h2 style="color: #6a1b9a; text-align: center;">About the Competition</h2>
505
  <p>The <strong>Mobile-MMLU Benchmark Competition</strong> is a premier challenge designed to evaluate and advance mobile-optimized Large Language Models (LLMs). This competition is an excellent opportunity to showcase your model's ability to handle real-world scenarios and excel in mobile intelligence.</p>
506
  <p>With a dataset spanning <strong>80 distinct fields</strong> and featuring <strong>16,186 questions</strong>, the competition emphasizes practical applications, from education and healthcare to technology and daily life.</p>
@@ -539,8 +539,8 @@ with gr.Blocks(css=css_tech_theme) as demo:
539
  <li>πŸ“Š <a href="https://github.com/your-dataset-link" target="_blank">Dataset Link</a>: Direct access to the competition dataset.</li>
540
  <li>❓ <a href="https://github.com/your-github-repo/issues" target="_blank">Support Page</a>: Use this for queries or issues during participation.</li>
541
  </ul>
542
- </div>
543
- """)
544
 
545
  with gr.TabItem("πŸ“€ Submission"):
546
  gr.Markdown("""
@@ -550,11 +550,11 @@ with gr.Blocks(css=css_tech_theme) as demo:
550
  </div>
551
  """)
552
  with gr.Row(elem_id="submission-fields"):
553
- file_input = gr.File(label="Upload Prediction CSV", file_types=[".csv"], interactive=True)
554
- model_name_input = gr.Textbox(label="Model Name", placeholder="Enter your model name")
555
 
556
  with gr.Row(elem_id="submission-results"):
557
- overall_accuracy_display = gr.Number(label="Overall Accuracy", interactive=False)
558
 
559
  with gr.Row(elem_id="submission-buttons"):
560
  eval_button = gr.Button("Evaluate")
 
499
  with gr.Tabs(elem_id="tabs"):
500
  # Overview Tab
501
  with gr.TabItem("πŸ“– Overview"):
502
+ gr.Markdown( """
503
+ <div class="tabs">
504
  <h2 style="color: #6a1b9a; text-align: center;">About the Competition</h2>
505
  <p>The <strong>Mobile-MMLU Benchmark Competition</strong> is a premier challenge designed to evaluate and advance mobile-optimized Large Language Models (LLMs). This competition is an excellent opportunity to showcase your model's ability to handle real-world scenarios and excel in mobile intelligence.</p>
506
  <p>With a dataset spanning <strong>80 distinct fields</strong> and featuring <strong>16,186 questions</strong>, the competition emphasizes practical applications, from education and healthcare to technology and daily life.</p>
 
539
  <li>πŸ“Š <a href="https://github.com/your-dataset-link" target="_blank">Dataset Link</a>: Direct access to the competition dataset.</li>
540
  <li>❓ <a href="https://github.com/your-github-repo/issues" target="_blank">Support Page</a>: Use this for queries or issues during participation.</li>
541
  </ul>
542
+ </div>
543
+ """)
544
 
545
  with gr.TabItem("πŸ“€ Submission"):
546
  gr.Markdown("""
 
550
  </div>
551
  """)
552
  with gr.Row(elem_id="submission-fields"):
553
+ file_input = gr.File(label="Upload Prediction CSV", file_types=[".csv"], interactive=True,scale=1, min_width=800)
554
+ model_name_input = gr.Textbox(label="Model Name", placeholder="Enter your model name",scale=1, min_width=800)
555
 
556
  with gr.Row(elem_id="submission-results"):
557
+ overall_accuracy_display = gr.Number(label="Overall Accuracy", interactive=False,scale=1, min_width=800)
558
 
559
  with gr.Row(elem_id="submission-buttons"):
560
  eval_button = gr.Button("Evaluate")