Circhastic commited on
Commit
eed76ea
1 Parent(s): 43de9aa

version 1.1 hotfix

Browse files
Files changed (1) hide show
  1. app.py +2 -1
app.py CHANGED
@@ -276,7 +276,7 @@ if not st.session_state.uploaded:
276
  # Sidebar Menu
277
  with st.sidebar:
278
  # TODO Name for product
279
- st.title("MLCast v1.0")
280
  st.subheader("An intelligent sales forecasting system")
281
  uploaded_file = st.file_uploader("Upload your store data here to proceed (must atleast contain Date and Sales)", type=["csv"])
282
  if uploaded_file is not None:
@@ -356,6 +356,7 @@ if (st.session_state.uploaded):
356
  score = forecast_accuracy(predictions, test_y)
357
  mape, interpretation, mape_color = interpret_mape(score['mape'])
358
 
 
359
  df = df.set_index('Date')
360
  merged_data = merge_forecast_data(df['Sales'], fitted_series, future_fitted_series)
361
 
 
276
  # Sidebar Menu
277
  with st.sidebar:
278
  # TODO Name for product
279
+ st.title("MLCast v1.1")
280
  st.subheader("An intelligent sales forecasting system")
281
  uploaded_file = st.file_uploader("Upload your store data here to proceed (must atleast contain Date and Sales)", type=["csv"])
282
  if uploaded_file is not None:
 
356
  score = forecast_accuracy(predictions, test_y)
357
  mape, interpretation, mape_color = interpret_mape(score['mape'])
358
 
359
+ df = df.rename(columns={df.columns[0]: 'Date'})
360
  df = df.set_index('Date')
361
  merged_data = merge_forecast_data(df['Sales'], fitted_series, future_fitted_series)
362