bohmian commited on
Commit
0448b5a
·
1 Parent(s): a6b8551

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +5 -1
app.py CHANGED
@@ -341,7 +341,11 @@ with gr.Blocks() as app:
341
 
342
  with gr.Row():
343
  terminal_value = gr.Text(label="Terminal Value (after 10th year)")
344
-
 
 
 
 
345
 
346
  btn.click(fn=run_all_steps, inputs=[ticker],
347
  outputs=[q_cash_flow_statement, final_cash_flow_statement, q_balance_statement, fig_cash_flow, \
 
341
 
342
  with gr.Row():
343
  terminal_value = gr.Text(label="Terminal Value (after 10th year)")
344
+
345
+ ticker.submit(fn=run_all_steps, inputs=[ticker],
346
+ outputs=[q_cash_flow_statement, final_cash_flow_statement, q_balance_statement, fig_cash_flow, \
347
+ EPS_growth_5Y, EPS_growth_6Y_to_10Y, long_term_growth_rate, beta, shares_outstanding, current_price, \
348
+ discount_rate, forecast_cash_flows_df, terminal_value, intrinsic_value, fig_cash_forecast, margin_of_safety])
349
 
350
  btn.click(fn=run_all_steps, inputs=[ticker],
351
  outputs=[q_cash_flow_statement, final_cash_flow_statement, q_balance_statement, fig_cash_flow, \