rameshmoorthy commited on
Commit
f681bb5
·
verified ·
1 Parent(s): 928b16d

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -194,6 +194,6 @@ with gr.Blocks() as cluster:
194
  dataframe2=gr.Dataframe()
195
 
196
  btn.click(handle_click, inputs=[file, sheet_dropdown], outputs=[out1, out2, var, dataframe1, dataframe2])
197
- file.observe(update_sheets, names=["data"])
198
  #btn.click(generate_report,inputs=[file],outputs=[out1,out2,var,dataframe1,dataframe2])
199
  cluster.launch()
 
194
  dataframe2=gr.Dataframe()
195
 
196
  btn.click(handle_click, inputs=[file, sheet_dropdown], outputs=[out1, out2, var, dataframe1, dataframe2])
197
+ file.change(update_sheets, inputs=file, outputs=None)
198
  #btn.click(generate_report,inputs=[file],outputs=[out1,out2,var,dataframe1,dataframe2])
199
  cluster.launch()