aenewton42 commited on
Commit
d658006
·
verified ·
1 Parent(s): 568825a

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("SuperKartApp")
6
 
7
  # Input fields for product and store data
8
- Product_Weight = st.number_input("Product Weight", min_value=0.0, value=12.66)
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=.05, max_value=0.5)
11
- Product_MRP = st.number_input("Product Price", min_value=0.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", ["Supermarket Type1", "Supermarket Type2", "Departmental Store", "Food Mart"])
15
- Product_Id_char = st.selectbox("Product Id Char", ["A", "B", "C", "D", "E"])
16
- Store_Age_Years = st.number_input("Store Age Years", min_value=0.0)
17
  Product_Type_Category = st.selectbox("Product Type Category", ['Frozen Foods','Dairy','Canned','Baking Goods','Health and Hygiene','Snack Foods','Meat','Household','Hard Drinks','Fruits and Vegetables','Breads','Soft Drinks','Breakfast','Starchy Foods','Seafood','Others'])
18
 
19
  product_data = {
 
5
  st.title("SuperKartApp")
6
 
7
  # Input fields for product and store data
8
+ Product_Weight = st.number_input("Product Weight", min_value=0.0, value=12.5)
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=.05, max_value=0.5)
11
+ Product_MRP = st.number_input("Product Price", min_value=0.0, value=150)
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", ["Supermarket Type1", "Supermarket Type2", "Departmental Store", "Food Mart"])
15
+ Product_Id_char = st.selectbox("Product Id Char", ["DR","FD","NC"])
16
+ Store_Age_Years = st.number_input("Store Age Years", min_value=0.0, value=15)
17
  Product_Type_Category = st.selectbox("Product Type Category", ['Frozen Foods','Dairy','Canned','Baking Goods','Health and Hygiene','Snack Foods','Meat','Household','Hard Drinks','Fruits and Vegetables','Breads','Soft Drinks','Breakfast','Starchy Foods','Seafood','Others'])
18
 
19
  product_data = {