pavanipriyanka commited on
Commit
ad79b88
·
verified ·
1 Parent(s): 3b29dc9

Upload folder using huggingface_hub

Browse files
Files changed (1) hide show
  1. app.py +3 -2
app.py CHANGED
@@ -22,7 +22,7 @@ Product_Type = st.selectbox("Product_Type", ["Fruits and Vegetables ", "Snack Fo
22
  Product_Weight = st.number_input("Product_Weight", min_value=0.0, max_value=1000.0, step=0.1, value=5.0)
23
  Product_MRP = st.number_input("Product_MRP", min_value=0.0, max_value=1000.0, step=0.1, value=5.0)
24
  Product_Allocated_Area = st.number_input("Product_Allocated_Area", min_value=0.0, max_value=1000.0, step=0.1, value=5.0)
25
- Product_Sugar_Content = st.selectbox("Sugar_Type", ["Low Sugar", "No Sugar", "Regular", "reg"])
26
  Store_Type = st.selectbox("Store_Type", ["Supermarket Type2 ", "Supermarket Type1","Departmental Store","Food Mart"])
27
  Store_Location_City_Type = st.selectbox("Store_Location_City_Type", ["Tier 2", "Tier 1","Tier 3"])
28
  Store_Id = st.selectbox("Store_Id",["OUT004","OUT003","OUT002","OUT001"]
@@ -33,12 +33,13 @@ input_data = pd.DataFrame([{
33
  'Product_Weight': Product_Weight,
34
  'Product_MRP': Product_MRP,
35
  'Product_Allocated_Area': Product_Allocated_Area,
36
- 'Product_Sugar_Content': Sugar_Type,
37
  'Store_Type': Store_Type,
38
  'Store_Location_City_Type': Store_Location_City_Type,
39
  'Store_Id': Store_Id,
40
  }])
41
 
 
42
  # Predict button
43
  'Product_Type': Product_Type,
44
  'Product_MRP': Product_MRP,
 
22
  Product_Weight = st.number_input("Product_Weight", min_value=0.0, max_value=1000.0, step=0.1, value=5.0)
23
  Product_MRP = st.number_input("Product_MRP", min_value=0.0, max_value=1000.0, step=0.1, value=5.0)
24
  Product_Allocated_Area = st.number_input("Product_Allocated_Area", min_value=0.0, max_value=1000.0, step=0.1, value=5.0)
25
+ Product_Sugar_Content = st.selectbox("Product_Sugar_Content", ["Low Sugar", "No Sugar", "Regular", "reg"])
26
  Store_Type = st.selectbox("Store_Type", ["Supermarket Type2 ", "Supermarket Type1","Departmental Store","Food Mart"])
27
  Store_Location_City_Type = st.selectbox("Store_Location_City_Type", ["Tier 2", "Tier 1","Tier 3"])
28
  Store_Id = st.selectbox("Store_Id",["OUT004","OUT003","OUT002","OUT001"]
 
33
  'Product_Weight': Product_Weight,
34
  'Product_MRP': Product_MRP,
35
  'Product_Allocated_Area': Product_Allocated_Area,
36
+ 'Product_Sugar_Content': Product_Sugar_Content,
37
  'Store_Type': Store_Type,
38
  'Store_Location_City_Type': Store_Location_City_Type,
39
  'Store_Id': Store_Id,
40
  }])
41
 
42
+
43
  # Predict button
44
  'Product_Type': Product_Type,
45
  'Product_MRP': Product_MRP,