prashant91 commited on
Commit
4b30960
·
verified ·
1 Parent(s): f965862

Upload folder using huggingface_hub

Browse files
Files changed (1) hide show
  1. streamlit_app.py +1 -6
streamlit_app.py CHANGED
@@ -1,11 +1,7 @@
1
- # app.py
2
  import streamlit as st
3
  import joblib
4
  import pandas as pd
5
 
6
- # Load the model
7
- model = joblib.load("best_sales_model.pkl")
8
-
9
  st.title("SuperKart Store Sales Forecasting")
10
 
11
  # Input form
@@ -37,5 +33,4 @@ if st.button("Predict Sales"):
37
  'Store_Age': store_age
38
  }])
39
 
40
- prediction = model.predict(input_data)[0]
41
- st.success(f"Predicted Sales: {round(prediction, 2)}")
 
 
1
  import streamlit as st
2
  import joblib
3
  import pandas as pd
4
 
 
 
 
5
  st.title("SuperKart Store Sales Forecasting")
6
 
7
  # Input form
 
33
  'Store_Age': store_age
34
  }])
35
 
36
+ st.success(f"Predicted Sales: {round(prediction, 2)}")