Varun6299 commited on
Commit
3153b96
·
verified ·
1 Parent(s): 0de55e6

Upload folder using huggingface_hub

Browse files
Files changed (1) hide show
  1. app.py +10 -10
app.py CHANGED
@@ -47,16 +47,16 @@ def predict_sales():
47
  input_data = request.get_json()
48
 
49
  sample = {
50
- 'product_weight': input_data['Product_Weight'],
51
- 'product_sugar_content': input_data['Product_Sugar_Content'],
52
- 'product_allocated_area': input_data['Product_Allocated_Area'],
53
- 'product_type': input_data['Product_Type'],
54
- 'product_quantity': input_data[ 'Product_Quantity'],
55
- 'product_mrp': input_data['Product_Quantity'],
56
- 'store_establishment_year': input_data['Store_Establishment_Year'],
57
- 'store_size': input_data['Store_Size'],
58
- 'store_location_city_type': input_data['Store_Location_City_Type'],
59
- 'store_type': input_data['Store_Type']
60
  }
61
 
62
  # Convert the extracted data into a Pandas DataFrame
 
47
  input_data = request.get_json()
48
 
49
  sample = {
50
+ 'Product_Weight': input_data['Product_Weight'],
51
+ 'Product_Sugar_Content': input_data['Product_Sugar_Content'],
52
+ 'Product_Allocated_Area': input_data['Product_Allocated_Area'],
53
+ 'Product_Type': input_data['Product_Type'],
54
+ 'Product_Quantity': input_data[ 'Product_Quantity'],
55
+ 'Product_MRP': input_data['Product_MRP'],
56
+ 'Store_Establishment_Year': input_data['Store_Establishment_Year'],
57
+ 'Store_Size': input_data['Store_Size'],
58
+ 'Store_Location_City_Type': input_data['Store_Location_City_Type'],
59
+ 'Store_Type': input_data['Store_Type']
60
  }
61
 
62
  # Convert the extracted data into a Pandas DataFrame