Spaces:
Restarting
on
CPU Upgrade
Restarting
on
CPU Upgrade
fix: fix the submition UI
Browse files
app.py
CHANGED
@@ -345,9 +345,11 @@ with demo:
|
|
345 |
# model_name_textbox = gr.Textbox(label="Model name")
|
346 |
# with gr.Column():
|
347 |
# model_url = gr.Textbox(label="Model URL")
|
|
|
348 |
file_output = gr.File()
|
|
|
349 |
upload_button = gr.UploadButton("Click to submit evaluation", file_count="multiple")
|
350 |
-
|
351 |
|
352 |
# with gr.TabItem("📝 About", elem_id="llm-benchmark-tab-table", id=3):
|
353 |
# gr.Markdown(LLM_BENCHMARKS_TEXT, elem_classes="markdown-text")
|
|
|
345 |
# model_name_textbox = gr.Textbox(label="Model name")
|
346 |
# with gr.Column():
|
347 |
# model_url = gr.Textbox(label="Model URL")
|
348 |
+
with gr.Row():
|
349 |
file_output = gr.File()
|
350 |
+
with gr.Row():
|
351 |
upload_button = gr.UploadButton("Click to submit evaluation", file_count="multiple")
|
352 |
+
upload_button.upload(upload_file, upload_button, file_output)
|
353 |
|
354 |
# with gr.TabItem("📝 About", elem_id="llm-benchmark-tab-table", id=3):
|
355 |
# gr.Markdown(LLM_BENCHMARKS_TEXT, elem_classes="markdown-text")
|