azrai99 commited on
Commit
c0debe7
·
verified ·
1 Parent(s): 3ef6a0f

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -1
app.py CHANGED
@@ -442,7 +442,8 @@ def dynamic_forecasting():
442
  dynamic_max_steps = st.sidebar.number_input('Max steps', value=20)
443
 
444
  if st.sidebar.button("Submit"):
445
- forecast_time_series(df, dynamic_model_choice, dynamic_horizon, dynamic_max_steps,y_col)
 
446
 
447
  def timegpt_fcst():
448
  nixtla_token = os.environ.get("NIXTLA_API_KEY")
 
442
  dynamic_max_steps = st.sidebar.number_input('Max steps', value=20)
443
 
444
  if st.sidebar.button("Submit"):
445
+ with st.spinner('Training model. This may take few minutes...'):
446
+ forecast_time_series(df, dynamic_model_choice, dynamic_horizon, dynamic_max_steps,y_col)
447
 
448
  def timegpt_fcst():
449
  nixtla_token = os.environ.get("NIXTLA_API_KEY")