Spaces:
AIR-Bench
/
Running on CPU Upgrade

nan commited on
Commit
2c777fc
1 Parent(s): 36c5a0c

fix: fix the submition UI

Browse files
Files changed (1) hide show
  1. app.py +3 -1
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
- upload_button.upload(upload_file, upload_button, file_output)
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")