pavanipriyanka commited on
Commit
3b29dc9
·
verified ·
1 Parent(s): 44d0205

Upload folder using huggingface_hub

Browse files
Files changed (1) hide show
  1. app.py +2 -11
app.py CHANGED
@@ -28,7 +28,7 @@ Store_Location_City_Type = st.selectbox("Store_Location_City_Type", ["Tier 2", "
28
  Store_Id = st.selectbox("Store_Id",["OUT004","OUT003","OUT002","OUT001"]
29
 
30
  # Convert user input into a DataFrame
31
- #input_data = pd.DataFrame([{
32
  'Product_Type': Product_Type,
33
  'Product_Weight': Product_Weight,
34
  'Product_MRP': Product_MRP,
@@ -36,16 +36,7 @@ Store_Id = st.selectbox("Store_Id",["OUT004","OUT003","OUT002","OUT001"]
36
  'Product_Sugar_Content': Sugar_Type,
37
  'Store_Type': Store_Type,
38
  'Store_Location_City_Type': Store_Location_City_Type,
39
- 'Store_Id': Store_Id
40
- }])
41
- input_data = pd.DataFrame([{'Product_Type': Product_Type,
42
- 'Product_Weight': Product_Weight,
43
- 'Product_MRP': Product_MRP,
44
- 'Product_Allocated_Area': Product_Allocated_Area,
45
- 'Product_Sugar_Content': Product_Sugar_Content,
46
- 'Store_Type': Store_Type,
47
- 'Store_Location_City_Type': Store_Location_City_Type,
48
- 'Store_Id': Store_Id
49
  }])
50
 
51
  # Predict button
 
28
  Store_Id = st.selectbox("Store_Id",["OUT004","OUT003","OUT002","OUT001"]
29
 
30
  # Convert user input into a DataFrame
31
+ input_data = pd.DataFrame([{
32
  'Product_Type': Product_Type,
33
  'Product_Weight': Product_Weight,
34
  'Product_MRP': Product_MRP,
 
36
  'Product_Sugar_Content': Sugar_Type,
37
  'Store_Type': Store_Type,
38
  'Store_Location_City_Type': Store_Location_City_Type,
39
+ 'Store_Id': Store_Id,
 
 
 
 
 
 
 
 
 
40
  }])
41
 
42
  # Predict button