AbdullahImran commited on
Commit
7593cd9
·
verified ·
1 Parent(s): 8444a08

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +5 -5
app.py CHANGED
@@ -305,12 +305,12 @@ with gr.Blocks(css=custom_css, theme=gr.themes.Base(), title="TriCast AI") as de
305
  )
306
  lstm_plot = gr.Plot(label="Revenue Forecast")
307
 
308
- if __name__ == "__main__":
309
- # Link button to function
310
  analyze_btn.click(
311
- run_all_models,
312
- inputs=[file_input],
313
- outputs=[bankruptcy_output, bankruptcy_plot, anomaly_output, anomaly_plot, lstm_output, lstm_plot]
314
  )
315
 
 
 
316
  demo.launch()
 
305
  )
306
  lstm_plot = gr.Plot(label="Revenue Forecast")
307
 
 
 
308
  analyze_btn.click(
309
+ run_all_models,
310
+ inputs=[file_input],
311
+ outputs=[bankruptcy_output, bankruptcy_plot, anomaly_output, anomaly_plot, lstm_output, lstm_plot]
312
  )
313
 
314
+ if __name__ == "__main__":
315
+
316
  demo.launch()