Update app.py
Browse files
app.py
CHANGED
@@ -223,13 +223,13 @@ def show_results_tab(df):
|
|
223 |
outputs=table,
|
224 |
)
|
225 |
|
226 |
-
def download_table():
|
227 |
-
|
228 |
-
|
229 |
|
230 |
-
download_btn = gr.File(visible=True)
|
231 |
|
232 |
-
btn.click(fn=download_table, inputs=None, outputs=download_btn)
|
233 |
|
234 |
|
235 |
with gr.Row():
|
|
|
223 |
outputs=table,
|
224 |
)
|
225 |
|
226 |
+
# def download_table():
|
227 |
+
# newdf, modellist, datasetlist = make_results_tab(model_info, results)
|
228 |
+
# return newdf.to_csv('df.csv',index=False,sep=',',encoding='utf-8',header=True)
|
229 |
|
230 |
+
# download_btn = gr.File(visible=True)
|
231 |
|
232 |
+
# btn.click(fn=download_table, inputs=None, outputs=download_btn)
|
233 |
|
234 |
|
235 |
with gr.Row():
|