Spaces:
Running
Running
Update app.py
Browse files
app.py
CHANGED
@@ -165,13 +165,13 @@ with gr.Blocks() as demo:
|
|
165 |
],
|
166 |
outputs=submission_result,
|
167 |
)
|
168 |
-
|
169 |
-
|
170 |
-
|
171 |
-
|
172 |
-
|
173 |
-
|
174 |
-
|
175 |
# with gr.Row():
|
176 |
# with gr.Column():
|
177 |
# with gr.Accordion("Models that are in the latest leaderboard version:", open=False):
|
|
|
165 |
],
|
166 |
outputs=submission_result,
|
167 |
)
|
168 |
+
with gr.Row():
|
169 |
+
with gr.Column():
|
170 |
+
with gr.Accordion("Submit log files from a Docker run:", open=False):
|
171 |
+
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:")
|
172 |
+
file_output = gr.File(visible=False)
|
173 |
+
u = gr.UploadButton("Upload a zip file with logs", file_count="single")
|
174 |
+
u.upload(add_docker_eval, u, file_output)
|
175 |
# with gr.Row():
|
176 |
# with gr.Column():
|
177 |
# with gr.Accordion("Models that are in the latest leaderboard version:", open=False):
|