ccwizard commited on
Commit
f6ef394
·
verified ·
1 Parent(s): cc3d3bf

Upload folder using huggingface_hub

Browse files
Files changed (1) hide show
  1. app.py +4 -4
app.py CHANGED
@@ -5,15 +5,15 @@ import requests
5
  st.title("SuperKart Sales Prediction Model with XGBoost")
6
 
7
  # Input fields for product and store data
8
- Product_Weight = st.number_input("Product Weight", min_value=0.0, value=0)
9
  Product_Sugar_Content = st.selectbox("Product Sugar Content", ["Low Sugar", "Regular", "No Sugar"])
10
- Product_Allocated_Area = st.number_input("Product Allocated Area", min_value=0.0, value=0)
11
- Product_MRP = st.number_input("Product MRP", min_value=0.0, value=0)
12
  Store_Size = st.selectbox("Store Size", ["Small", "Medium", "High"])
13
  Store_Location_City_Type = st.selectbox("Store Location City Type", ["Tier 1", "Tier 2", "Tier 3"])
14
  Store_Type = st.selectbox("Store Type", ["Food Mart", "Departmental Store", "Supermarket Type1", "Supermarket Type2"])
15
  Product_Code = st.selectbox("Product Category", ["FD", "DR", "NC"])
16
- Store_Age = st.number_input("Store Age in Years", min_value=0, value=0)
17
  Product_Category = st.selectbox("Product Category", ["Perishable", "Non-Perishable"])
18
 
19
  product_data = {
 
5
  st.title("SuperKart Sales Prediction Model with XGBoost")
6
 
7
  # Input fields for product and store data
8
+ Product_Weight = st.number_input("Product Weight", min_value=0.0, value=0.01)
9
  Product_Sugar_Content = st.selectbox("Product Sugar Content", ["Low Sugar", "Regular", "No Sugar"])
10
+ Product_Allocated_Area = st.number_input("Product Allocated Area", min_value=0.0, value=0.01)
11
+ Product_MRP = st.number_input("Product MRP", min_value=0.0, value=0.01)
12
  Store_Size = st.selectbox("Store Size", ["Small", "Medium", "High"])
13
  Store_Location_City_Type = st.selectbox("Store Location City Type", ["Tier 1", "Tier 2", "Tier 3"])
14
  Store_Type = st.selectbox("Store Type", ["Food Mart", "Departmental Store", "Supermarket Type1", "Supermarket Type2"])
15
  Product_Code = st.selectbox("Product Category", ["FD", "DR", "NC"])
16
+ Store_Age = st.number_input("Store Age in Years", min_value=0, value=1)
17
  Product_Category = st.selectbox("Product Category", ["Perishable", "Non-Perishable"])
18
 
19
  product_data = {