Spaces:
Sleeping
Sleeping
Upload folder using huggingface_hub
Browse files
app.py
CHANGED
|
@@ -9,7 +9,7 @@ st.write("This tool predicts SuperKart Store Product Sales based on their detail
|
|
| 9 |
# Collect user input based on dataset columns
|
| 10 |
Product_Id = st.text_input("Enter a Product Identifier. This should start with one of the 3 Product Code values ('FD', 'NC', 'DR') followed by a 2/3 digit number.")
|
| 11 |
Product_Weight = st.number_input("Product Weight", min_value=1, max_value=99)
|
| 12 |
-
|
| 13 |
Product_Allocated_Area = st.number_input("Product Allocated Area", min_value=0.004, max_value=0.3)
|
| 14 |
Product_Type = st.selectbox("Select the Product Sugar Content Level", ['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'])
|
| 15 |
Product_MRP = st.number_input("Product MRP", min_value=1, max_value=500)
|
|
@@ -23,7 +23,7 @@ Store_Type = st.selectbox("Select the Store Type", ['Departmental Store', 'Food
|
|
| 23 |
customer_data = {
|
| 24 |
'Product_Id': Product_Id,
|
| 25 |
'Product_Weight': Product_Weight,
|
| 26 |
-
'
|
| 27 |
'Product_Allocated_Area': Product_Allocated_Area,
|
| 28 |
'Product_Type': Product_Type,
|
| 29 |
'Product_MRP': Product_MRP,
|
|
|
|
| 9 |
# Collect user input based on dataset columns
|
| 10 |
Product_Id = st.text_input("Enter a Product Identifier. This should start with one of the 3 Product Code values ('FD', 'NC', 'DR') followed by a 2/3 digit number.")
|
| 11 |
Product_Weight = st.number_input("Product Weight", min_value=1, max_value=99)
|
| 12 |
+
Product_Sugar_Content = st.selectbox("Select the Product Sugar Content Level", ['No Sugar', 'Low Sugar', 'Regular'])
|
| 13 |
Product_Allocated_Area = st.number_input("Product Allocated Area", min_value=0.004, max_value=0.3)
|
| 14 |
Product_Type = st.selectbox("Select the Product Sugar Content Level", ['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'])
|
| 15 |
Product_MRP = st.number_input("Product MRP", min_value=1, max_value=500)
|
|
|
|
| 23 |
customer_data = {
|
| 24 |
'Product_Id': Product_Id,
|
| 25 |
'Product_Weight': Product_Weight,
|
| 26 |
+
'Product_Sugar_Content': Product_Sugar_Content,
|
| 27 |
'Product_Allocated_Area': Product_Allocated_Area,
|
| 28 |
'Product_Type': Product_Type,
|
| 29 |
'Product_MRP': Product_MRP,
|