Spaces:
Sleeping
Sleeping
Upload folder using huggingface_hub
Browse files
app.py
CHANGED
|
@@ -9,15 +9,15 @@ st.title("SuperKart Product Sales Prediction")
|
|
| 9 |
st.subheader("Online Prediction")
|
| 10 |
|
| 11 |
# Collect user input for product features
|
| 12 |
-
Product_Allocated_Area = st.number_input("Product Allocated Area", min_value=0.0, max_value=0.3)
|
| 13 |
Product_Group = st.selectbox("Product Group", ["Packaged/Processed Foods", "Perishable Foods", "Non-Food/Household"])
|
| 14 |
-
Product_MRP = st.number_input("Product MRP", min_value=10.0, max_value=300.0)
|
| 15 |
Store_Id = st.selectbox("Store ID", ["OUT004","OUT003","OUT001","OUT002"])
|
| 16 |
-
Store_Age = st.number_input("Store Age", min_value=1
|
| 17 |
Store_Size = st.selectbox("Store Size", ["Medium","High","Small"])
|
| 18 |
Store_Location_City_Type = st.selectbox("Store Location City Type", ["Tier 1","Tier 2","Tier 3"])
|
| 19 |
Store_Type = st.selectbox("Store Type", ["Supermarket Type2","Departmental Store","Supermarket Type1","Food Mart"])
|
| 20 |
-
Product_Weight = st.number_input("Product Weight", min_value=4.0, max_value=22.0)
|
| 21 |
Product_Sugar_Content = st.selectbox("Product Sugar Content", ["Low Sugar","Regular","No Sugar"])
|
| 22 |
|
| 23 |
# Convert user input into a DataFrame
|
|
|
|
| 9 |
st.subheader("Online Prediction")
|
| 10 |
|
| 11 |
# Collect user input for product features
|
| 12 |
+
Product_Allocated_Area = st.number_input("Product Allocated Area", min_value=0.0, max_value=0.3,format="%.3f")
|
| 13 |
Product_Group = st.selectbox("Product Group", ["Packaged/Processed Foods", "Perishable Foods", "Non-Food/Household"])
|
| 14 |
+
Product_MRP = st.number_input("Product MRP", min_value=10.0, max_value=300.0,format="%.2f")
|
| 15 |
Store_Id = st.selectbox("Store ID", ["OUT004","OUT003","OUT001","OUT002"])
|
| 16 |
+
Store_Age = st.number_input("Store Age", min_value=1, max_value=38,format="%d")
|
| 17 |
Store_Size = st.selectbox("Store Size", ["Medium","High","Small"])
|
| 18 |
Store_Location_City_Type = st.selectbox("Store Location City Type", ["Tier 1","Tier 2","Tier 3"])
|
| 19 |
Store_Type = st.selectbox("Store Type", ["Supermarket Type2","Departmental Store","Supermarket Type1","Food Mart"])
|
| 20 |
+
Product_Weight = st.number_input("Product Weight", min_value=4.0, max_value=22.0,format="%.2f")
|
| 21 |
Product_Sugar_Content = st.selectbox("Product Sugar Content", ["Low Sugar","Regular","No Sugar"])
|
| 22 |
|
| 23 |
# Convert user input into a DataFrame
|