bohmian commited on
Commit
a6b8551
1 Parent(s): 6125bdb

edited script

Browse files
Files changed (2) hide show
  1. app.py +1 -1
  2. app.py.bak +1 -1
app.py CHANGED
@@ -299,7 +299,7 @@ with gr.Blocks() as app:
299
 
300
  with gr.Row():
301
  EPS_growth_5Y = gr.Text(label="EPS Next 5Y (estimated EPS growth for next 5 years)")
302
- EPS_growth_6Y_to_10Y = gr.Text(label="EPS growth for 6th to 10th year (estimated as half of above)")
303
  long_term_growth_rate = gr.Text(label="Long Term Growth Rate (estimated as the above or 3%, whichever is lower)")
304
 
305
  with gr.Row():
 
299
 
300
  with gr.Row():
301
  EPS_growth_5Y = gr.Text(label="EPS Next 5Y (estimated EPS growth for next 5 years)")
302
+ EPS_growth_6Y_to_10Y = gr.Text(label="EPS growth for 6th to 10th year (estimated as half of 5Y rate)")
303
  long_term_growth_rate = gr.Text(label="Long Term Growth Rate (estimated as the above or 3%, whichever is lower)")
304
 
305
  with gr.Row():
app.py.bak CHANGED
@@ -270,7 +270,7 @@ def run_all_steps(ticker):
270
  return q_cash_flow_statement.reset_index(), final_cash_flow_statement.reset_index(), q_balance_statement.reset_index(), fig_cash_flow, \
271
  str(EPS_growth_5Y) + '%', str(EPS_growth_6Y_to_10Y) + '%', str(long_term_growth_rate) + '%', \
272
  beta, shares_outstanding, current_price, \
273
- str(discount_rate) + '%', forecast_cash_flows_df.reset_index(), terminal_value, intrinsic_value, fig_cash_forecast, margin_of_safety
274
 
275
 
276
  # Gradio App and UI
 
270
  return q_cash_flow_statement.reset_index(), final_cash_flow_statement.reset_index(), q_balance_statement.reset_index(), fig_cash_flow, \
271
  str(EPS_growth_5Y) + '%', str(EPS_growth_6Y_to_10Y) + '%', str(long_term_growth_rate) + '%', \
272
  beta, shares_outstanding, current_price, \
273
+ str(discount_rate) + '%', forecast_cash_flows_df.reset_index(), terminal_value, intrinsic_value, fig_cash_forecast, str(margin_of_safety) + '%'
274
 
275
 
276
  # Gradio App and UI