Spaces:
Running
Running
Update app.py
Browse filesI don't get how this works
app.py
CHANGED
@@ -152,6 +152,7 @@ with gr.Blocks() as demo:
|
|
152 |
)
|
153 |
with gr.Row():
|
154 |
with gr.Column():
|
|
|
155 |
gr.Markdown("If you 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)
|
|
|
152 |
)
|
153 |
with gr.Row():
|
154 |
with gr.Column():
|
155 |
+
file_output = gr.File()
|
156 |
gr.Markdown("If you 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 |
u = gr.UploadButton("Upload a zip file with logs", file_count="single")
|
158 |
u.upload(add_docker_eval,u, file_output)
|