Spaces:
Sleeping
Sleeping
Update app.py
Browse files
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 |
-
|
312 |
-
|
313 |
-
|
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()
|