bright1 commited on
Commit
4806a9a
1 Parent(s): 7900607

modified csv in app.py file

Browse files
Files changed (1) hide show
  1. src/app/app.py +3 -3
src/app/app.py CHANGED
@@ -156,9 +156,9 @@ if button:
156
 
157
  st.metric('Predicted Sale', value=model.predict(processed_data))
158
  # predictions = model.predict(process_data)
159
- csv_file = hist_df
160
- check_csv(csv_file, data)
161
- history = pd.read_csv(csv_file)
162
  with st.expander('Download Input History'):
163
  # new_history = history.iloc[1:]
164
  st.dataframe(history)
 
156
 
157
  st.metric('Predicted Sale', value=model.predict(processed_data))
158
  # predictions = model.predict(process_data)
159
+ # csv_file = hist_df
160
+ check_csv(hist_df, data)
161
+ history = pd.read_csv(hist_df)
162
  with st.expander('Download Input History'):
163
  # new_history = history.iloc[1:]
164
  st.dataframe(history)