sasha HF Staff commited on
Commit
96bff17
·
verified ·
1 Parent(s): ad0a00c

Update app.py

Browse files

maybe upload()?

Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -156,7 +156,7 @@ with gr.Blocks() as demo:
156
  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:")
157
  file_output = gr.File()
158
  u = gr.UploadButton("Upload a zip file with logs", file_count="single")
159
- u.click(add_docker_eval,u, file_output)
160
  with gr.Row():
161
  with gr.Column():
162
  with gr.Accordion("Models that are in the latest leaderboard version:", open = False):
 
156
  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:")
157
  file_output = gr.File()
158
  u = gr.UploadButton("Upload a zip file with logs", file_count="single")
159
+ u.upload(add_docker_eval,u, file_output)
160
  with gr.Row():
161
  with gr.Column():
162
  with gr.Accordion("Models that are in the latest leaderboard version:", open = False):