Spaces:
Sleeping
Sleeping
Upload folder using huggingface_hub
Browse files
app.py
CHANGED
@@ -18,15 +18,15 @@ Product_Type_Category = st.selectbox("Product Type Category", ["Low Sugar", "Reg
|
|
18 |
|
19 |
product_data = {
|
20 |
"Product_Weight": Product_Weight,
|
21 |
-
"Product_Sugar_Content": Product_Sugar_Content,
|
22 |
"Product_Allocated_Area": Product_Allocated_Area,
|
23 |
"Product_MRP": Product_MRP,
|
24 |
"Store_Size": Store_Size,
|
25 |
-
"Store_Location_City_Type": Store_Location_City_Type,
|
26 |
-
"Store_Type": Store_Type,
|
27 |
-
"Product_Id_char": Product_Id_char,
|
28 |
"Store_Age_Years": Store_Age_Years,
|
29 |
-
"Product_Type_Category": Product_Type_Category
|
30 |
}
|
31 |
|
32 |
#if st.button("Predict", type='primary'):
|
|
|
18 |
|
19 |
product_data = {
|
20 |
"Product_Weight": Product_Weight,
|
21 |
+
"Product_Sugar_Content": str(Product_Sugar_Content),
|
22 |
"Product_Allocated_Area": Product_Allocated_Area,
|
23 |
"Product_MRP": Product_MRP,
|
24 |
"Store_Size": Store_Size,
|
25 |
+
"Store_Location_City_Type": str(Store_Location_City_Type),
|
26 |
+
"Store_Type": str(Store_Type),
|
27 |
+
"Product_Id_char": str(Product_Id_char),
|
28 |
"Store_Age_Years": Store_Age_Years,
|
29 |
+
"Product_Type_Category": str(Product_Type_Category)
|
30 |
}
|
31 |
|
32 |
#if st.button("Predict", type='primary'):
|