Spaces:
Runtime error
Runtime error
modified csv in app.py file
Browse files- 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(
|
161 |
-
history = pd.read_csv(
|
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)
|