sasha HF Staff commited on
Commit
c15ffc9
·
verified ·
1 Parent(s): 22e0f50

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -2
app.py CHANGED
@@ -153,8 +153,8 @@ with gr.Blocks() as demo:
153
  with gr.Column():
154
  with gr.Accordion("Submit log files from a Docker run:", open = False):
155
  gr.Markdown("If you've already benchmarked your model using the [Docker file](https://github.com/huggingface/EnergyStarAI/) provided, please upload the **entire run log directory** (in .zip format) below:")
156
- log_files = gr.File()
157
- log_files.upload(add_docker_eval,log_files, file_output)
158
  with gr.Row():
159
  with gr.Column():
160
  with gr.Accordion("Models that are in the latest leaderboard version:", open = False):
 
153
  with gr.Column():
154
  with gr.Accordion("Submit log files from a Docker run:", open = False):
155
  gr.Markdown("If you've already benchmarked your model using the [Docker file](https://github.com/huggingface/EnergyStarAI/) provided, please upload the **entire run log directory** (in .zip format) below:")
156
+ u = gr.UploadButton("Upload a zip file with logs", file_count="single")
157
+ u.upload(add_docker_eval,u, file_output)
158
  with gr.Row():
159
  with gr.Column():
160
  with gr.Accordion("Models that are in the latest leaderboard version:", open = False):