Update app.py
Browse files
app.py
CHANGED
|
@@ -226,10 +226,11 @@ def show_results_tab(df):
|
|
| 226 |
outputs=table,
|
| 227 |
)
|
| 228 |
|
| 229 |
-
def download_table(
|
| 230 |
-
|
|
|
|
| 231 |
|
| 232 |
-
btn.click(fn=download_table,
|
| 233 |
|
| 234 |
|
| 235 |
with gr.Row():
|
|
|
|
| 226 |
outputs=table,
|
| 227 |
)
|
| 228 |
|
| 229 |
+
def download_table():
|
| 230 |
+
newdf, modellist, datasetlist = make_results_tab(model_info, results)
|
| 231 |
+
return gr.File(value=newdf.to_csv(index=False), visible=True)
|
| 232 |
|
| 233 |
+
btn.click(fn=download_table, outputs=download_btn)
|
| 234 |
|
| 235 |
|
| 236 |
with gr.Row():
|