MaksG commited on
Commit
7854dd4
1 Parent(s): c8cc3bc

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +3 -0
app.py CHANGED
@@ -58,6 +58,9 @@ with gr.Blocks() as demo:
58
  df_output = gr.DataFrame()
59
  fi_excel = gr.File(label="Excel File")
60
 
 
 
 
61
  fi_excel.change(get_columns, inputs=[fi_excel], outputs=[dd_source_ask, dd_source_class, dd_label1, dd_label2, df_output])
62
 
63
  btn_extract.click(extractionPrincipale, inputs=[dd_url, fi_excel], outputs=[fi_excel, tb_message])
 
58
  df_output = gr.DataFrame()
59
  fi_excel = gr.File(label="Excel File")
60
 
61
+
62
+ btn_search.click(browse_folder, inputs=dd_url, outputs=dd_url)
63
+ dd_url.change(browse_folder, inputs=dd_url, outputs=dd_url)
64
  fi_excel.change(get_columns, inputs=[fi_excel], outputs=[dd_source_ask, dd_source_class, dd_label1, dd_label2, df_output])
65
 
66
  btn_extract.click(extractionPrincipale, inputs=[dd_url, fi_excel], outputs=[fi_excel, tb_message])