tonne commited on
Commit
7a0be88
1 Parent(s): 37e5735
Files changed (1) hide show
  1. app.py +3 -1
app.py CHANGED
@@ -70,7 +70,7 @@ class TS:
70
 
71
 
72
  st.title("Vietnam Trading by Time Series")
73
- model = st.selectbox("model", ["ARIMA", "Propphet"])
74
  sb = st.text_input('Symbol', 'FPT')
75
  period = st.slider('Period', 1, 365, 28)
76
  # fig = prophet_ts(symbol=sb, periods = periods)
@@ -79,5 +79,7 @@ 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)
 
70
 
71
 
72
  st.title("Vietnam Trading by Time Series")
73
+ model = st.selectbox("model", ["Prophet", "ARIMA"])
74
  sb = st.text_input('Symbol', 'FPT')
75
  period = st.slider('Period', 1, 365, 28)
76
  # fig = prophet_ts(symbol=sb, periods = periods)
 
79
  with st.spinner('Wait for it...'):
80
  if model == "Prophet":
81
  fig = ts.prophet(period = period)
82
+ elif model == "ARIMA":
83
+ fig = ts.prophet(period = period)
84
  st.success('Done!')
85
  st.plotly_chart(fig, use_container_width=True)