PinHsuan commited on
Commit
4c85c3b
·
verified ·
1 Parent(s): 914d6c1

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -154,7 +154,7 @@ with gr.Blocks(theme=gr.themes.Soft(), css=css) as demo:
154
  btn_next.click(fn=lambda: gr.Tabs(selected=1), outputs=survey_tabs)
155
  back_to_ccmq.click(fn=lambda: gr.Tabs(selected=0), outputs=survey_tabs)
156
  back_to_edit.click(fn=lambda: (gr.update(visible=True), gr.update(visible=False)), outputs=[stage_1, stage_2])
157
- submit_btn.click(fn=analyze_and_predict, inputs=all_inputs, outputs=[stage_1, stage_2, res_title, res_desc, res_prob, res_table, plot_1, plot_2])
158
  finish_btn.click(fn=reset_system, outputs=[stage_1, stage_2, survey_tabs] + all_inputs)
159
 
160
  if __name__ == "__main__":
 
154
  btn_next.click(fn=lambda: gr.Tabs(selected=1), outputs=survey_tabs)
155
  back_to_ccmq.click(fn=lambda: gr.Tabs(selected=0), outputs=survey_tabs)
156
  back_to_edit.click(fn=lambda: (gr.update(visible=True), gr.update(visible=False)), outputs=[stage_1, stage_2])
157
+ submit_btn.click(fn=analyze_and_predict, inputs=all_inputs, outputs=[stage_1, stage_2, res_title, res_desc, res_table, res_prob, res_table, plot_1, plot_2])
158
  finish_btn.click(fn=reset_system, outputs=[stage_1, stage_2, survey_tabs] + all_inputs)
159
 
160
  if __name__ == "__main__":