Spaces:
Sleeping
Sleeping
zhenwu0831 commited on
Commit Β·
6e3ec67
1
Parent(s): 4b92379
v24
Browse files
app.py
CHANGED
|
@@ -597,11 +597,11 @@ We compute multiple metrics:
|
|
| 597 |
|
| 598 |
with gr.Tabs():
|
| 599 |
with gr.Tab("π€ Submit"):
|
| 600 |
-
file_input = gr.File(label="Upload submission
|
| 601 |
submit_btn = gr.Button("π Submit & Evaluate", variant="primary")
|
| 602 |
status = gr.Textbox(label="Result", lines=10, interactive=False)
|
| 603 |
|
| 604 |
-
gr.Markdown("### Sample submission
|
| 605 |
sample = gr.Textbox(value=sample_submission_text(), lines=6)
|
| 606 |
|
| 607 |
with gr.Tab("π
Leaderboard"):
|
|
|
|
| 597 |
|
| 598 |
with gr.Tabs():
|
| 599 |
with gr.Tab("π€ Submit"):
|
| 600 |
+
file_input = gr.File(label="Upload submission in json", file_types=[".json"])
|
| 601 |
submit_btn = gr.Button("π Submit & Evaluate", variant="primary")
|
| 602 |
status = gr.Textbox(label="Result", lines=10, interactive=False)
|
| 603 |
|
| 604 |
+
gr.Markdown("### Sample submission")
|
| 605 |
sample = gr.Textbox(value=sample_submission_text(), lines=6)
|
| 606 |
|
| 607 |
with gr.Tab("π
Leaderboard"):
|