tonne commited on
Commit
6311776
1 Parent(s): e2fb478
Files changed (1) hide show
  1. app.py +4 -2
app.py CHANGED
@@ -76,6 +76,8 @@ period = st.slider('Period', 1, 365, 28)
76
  # fig = prophet_ts(symbol=sb, periods = periods)
77
  ts = TS()
78
  fig = None
79
- if model == "Prophet":
80
- fig = ts.prophet(period = period)
 
 
81
  st.plotly_chart(fig, use_container_width=True)
 
76
  # fig = prophet_ts(symbol=sb, periods = periods)
77
  ts = TS()
78
  fig = None
79
+ with st.spinner('Wait for it...'):
80
+ if model == "Prophet":
81
+ fig = ts.prophet(period = period)
82
+ st.success('Done!')
83
  st.plotly_chart(fig, use_container_width=True)