Spaces:
Sleeping
Sleeping
Update streamlit app
Browse files- src/streamlit_app.py +2 -0
src/streamlit_app.py
CHANGED
|
@@ -24,6 +24,7 @@ with st.form("prediction_form"):
|
|
| 24 |
|
| 25 |
with col2:
|
| 26 |
st.subheader("Store Info")
|
|
|
|
| 27 |
store_size = st.selectbox("Store Size", ["Small", "Medium", "High"])
|
| 28 |
store_type = st.selectbox("Store Type", ["Supermarket Type1", "Grocery Store"])
|
| 29 |
store_location = st.selectbox("City Type", ["Tier 1", "Tier 2", "Tier 3"])
|
|
@@ -36,6 +37,7 @@ with st.form("prediction_form"):
|
|
| 36 |
"Product_MRP": product_mrp,
|
| 37 |
"Product_Sugar_Content": product_sugar_content,
|
| 38 |
"Product_Type": product_type,
|
|
|
|
| 39 |
"Store_Size": store_size,
|
| 40 |
"Store_Type": store_type,
|
| 41 |
"Store_Location_City_Type": store_location,
|
|
|
|
| 24 |
|
| 25 |
with col2:
|
| 26 |
st.subheader("Store Info")
|
| 27 |
+
store_id = st.selectbox("Store ID", [f"OUT{str(i).zfill(3)}" for i in range(1, 11)])
|
| 28 |
store_size = st.selectbox("Store Size", ["Small", "Medium", "High"])
|
| 29 |
store_type = st.selectbox("Store Type", ["Supermarket Type1", "Grocery Store"])
|
| 30 |
store_location = st.selectbox("City Type", ["Tier 1", "Tier 2", "Tier 3"])
|
|
|
|
| 37 |
"Product_MRP": product_mrp,
|
| 38 |
"Product_Sugar_Content": product_sugar_content,
|
| 39 |
"Product_Type": product_type,
|
| 40 |
+
"Store_Id": store_id,
|
| 41 |
"Store_Size": store_size,
|
| 42 |
"Store_Type": store_type,
|
| 43 |
"Store_Location_City_Type": store_location,
|