AnkushWaghmare commited on
Commit
6d8b137
·
verified ·
1 Parent(s): ebadee9

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +5 -6
app.py CHANGED
@@ -24,15 +24,14 @@ Store_Area = st.number_input("Store Area (sq.ft)", min_value=0.0, value=2000.0)
24
 
25
  # Prepare input for API
26
  sales_data = {
 
27
  "Product_Sugar_Content": Product_Sugar_Content,
 
28
  "Product_Type": Product_Type,
29
- "Store_Id": Store_Id,
30
  "Store_Size": Store_Size,
31
- "Store_Location_City_Type": Store_Location_City_Type,
32
- "Store_Type": Store_Type,
33
- "Product_Weight": Product_Weight,
34
- "Product_Price": Product_Price,
35
- "Store_Area": Store_Area
36
  }
37
 
38
  if st.button("Predict Sales", type='primary'):
 
24
 
25
  # Prepare input for API
26
  sales_data = {
27
+ "Product_Weight": Product_Weight,
28
  "Product_Sugar_Content": Product_Sugar_Content,
29
+ "Product_Allocated_Area": Store_Area, # was Store_Area
30
  "Product_Type": Product_Type,
31
+ "Product_MRP": Product_Price, # was Product_Price
32
  "Store_Size": Store_Size,
33
+ "Product_Store_Sales_Total": 0, # placeholder (user won’t input)
34
+ "Store_Age": 10 # placeholder or calculate
 
 
 
35
  }
36
 
37
  if st.button("Predict Sales", type='primary'):