adityasharma0511 commited on
Commit
55b8955
·
verified ·
1 Parent(s): c8e8e2d

Upload folder using huggingface_hub

Browse files
Files changed (1) hide show
  1. app.py +4 -4
app.py CHANGED
@@ -9,17 +9,17 @@ st.title("Store Sales Prediction")
9
  st.subheader("Online Prediction")
10
 
11
  # Collect user input for property features
 
12
  Product_Sugar_Content = st.selectbox("Product_Sugar_Content" , ["Low Sugar", "Regular", "No Sugar"])
 
13
  Product_Type = st.selectbox("Product_Type" , ["Frozen Foods","Dairy","Canned","Baking Goods","Health and Hygiene","Snack Foods","Meat","Household","Hard Drinks","Fruits and Vegetables","Breads","Soft Drinks","Breakfast","Others","Starchy Foods","Seafood"
14
  ])
 
15
  Store_Id = st.selectbox("Store_Id" , ["OUT001","OUT002","OUT003","OUT004"])
 
16
  Store_Size = st.selectbox("Store_Size" , ["Small","Medium","High"])
17
  Store_Location_City_Type = st.selectbox("Store_Location_City_Type" , ["Tier 1","Tier 2","Tier 3"])
18
  Store_Type = st.selectbox("Store_Type" , ["Supermarket Type1","Supermarket Type2","Departmental Store","Food Mart"])
19
- Product_Weight = st.number_input("Product_Weight", min_value=0.00, max_value=100.00, step=0.01, value=0.0)
20
- Product_Allocated_Area = st.number_input("Product_Allocated_Area", min_value=0.000, max_value=1.000, step=0.001, value=0.000)
21
- Product_MRP = st.number_input("Product_MRP", min_value=0.0, step=0.01, value=0.0)
22
- Store_Establishment_Year = st.number_input("Store_Establishment_Year", min_value=1800, max_value=3000, step=1, value=1900)
23
 
24
 
25
  # Convert user input into a DataFrame
 
9
  st.subheader("Online Prediction")
10
 
11
  # Collect user input for property features
12
+ Product_Weight = st.number_input("Product_Weight", min_value=0.00, max_value=100.00, step=0.01, value=0.0)
13
  Product_Sugar_Content = st.selectbox("Product_Sugar_Content" , ["Low Sugar", "Regular", "No Sugar"])
14
+ Product_Allocated_Area = st.number_input("Product_Allocated_Area", min_value=0.000, max_value=1.000, step=0.001, value=0.000)
15
  Product_Type = st.selectbox("Product_Type" , ["Frozen Foods","Dairy","Canned","Baking Goods","Health and Hygiene","Snack Foods","Meat","Household","Hard Drinks","Fruits and Vegetables","Breads","Soft Drinks","Breakfast","Others","Starchy Foods","Seafood"
16
  ])
17
+ Product_MRP = st.number_input("Product_MRP", min_value=0.0, step=0.01, value=0.0)
18
  Store_Id = st.selectbox("Store_Id" , ["OUT001","OUT002","OUT003","OUT004"])
19
+ Store_Establishment_Year = st.number_input("Store_Establishment_Year", min_value=1800, max_value=3000, step=1, value=1900)
20
  Store_Size = st.selectbox("Store_Size" , ["Small","Medium","High"])
21
  Store_Location_City_Type = st.selectbox("Store_Location_City_Type" , ["Tier 1","Tier 2","Tier 3"])
22
  Store_Type = st.selectbox("Store_Type" , ["Supermarket Type1","Supermarket Type2","Departmental Store","Food Mart"])
 
 
 
 
23
 
24
 
25
  # Convert user input into a DataFrame