Spaces:
Sleeping
Sleeping
Upload folder using huggingface_hub
Browse files
app.py
CHANGED
|
@@ -7,4 +7,20 @@ st.title("SuperKart Product Sales Forecast")
|
|
| 7 |
|
| 8 |
st.subheader("Online and Batch prediction")
|
| 9 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 10 |
|
|
|
|
| 7 |
|
| 8 |
st.subheader("Online and Batch prediction")
|
| 9 |
|
| 10 |
+
Product_Id= st.text_input('Product_Id')
|
| 11 |
+
Product_Weight=st.number_input('Product_Weight',min_value=3.0,max_value=25.0,value=12.66)
|
| 12 |
+
Product_Sugar_Content=st.selectbox('Product_Sugar_Content',['Low Sugar','Regular','No Sugar'])
|
| 13 |
+
Product_Allocated_Area=st.number_input('Product_Allocated_Area',min_value=0.1,max_value=0.5,value=0.2)
|
| 14 |
+
Product_Type=st.selectbox('Product_Type',['Frozen Foods', 'Dairy', 'Canned', 'Baking Goods',
|
| 15 |
+
'Health and Hygiene', 'Snack Foods', 'Meat', 'Household',
|
| 16 |
+
'Hard Drinks', 'Fruits and Vegetables', 'Breads', 'Soft Drinks',
|
| 17 |
+
'Breakfast', 'Others', 'Starchy Foods', 'Seafood'])
|
| 18 |
+
Product_MRP=st.number_input('Product_MRP',min_value=30.0,max_value=270.0,value=146.74)
|
| 19 |
+
Store_Id=st.selectbox('Store_Id',['OUT004', 'OUT003', 'OUT001', 'OUT002'])
|
| 20 |
+
Store_Establishment_Year=st.number_input('Store_Establishment_Year',min_value=1981,max_value=2010,value=1990)
|
| 21 |
+
Store_Size= st.selectbox('Store_Size',['Medium', 'High', 'Small'])
|
| 22 |
+
Store_Location_City_Type=st.selectbox('Store_Location_City_Type',['Tier 2', 'Tier 1', 'Tier 3'])
|
| 23 |
+
Store_Type=st.selectbox('Store_Type',['Supermarket Type2', 'Departmental Store', 'Supermarket Type1',
|
| 24 |
+
'Food Mart'])
|
| 25 |
+
|
| 26 |
|