nrajwani commited on
Commit
fe1da31
·
verified ·
1 Parent(s): 6680ea9

Upload folder using huggingface_hub

Browse files
Files changed (1) hide show
  1. app.py +9 -9
app.py CHANGED
@@ -32,16 +32,16 @@ def predict_sales():
32
 
33
  # Extract relevant features from the JSON data
34
  sample = {
35
- 'product_type': data['Product_Type'],
36
- 'product_sugar_content': data['Product_Sugar_Content'],
37
- 'store_establishment_year': data['Store_Establishment_Year'],
38
- 'store_size': data['Store_Size'],
39
- 'store_location_city_type': data['Store_Location_City_Type'],
40
- 'store_type': data['Store_Type'],
41
  # 'store_id': data['Store_Id'],
42
- 'product_weight': data['Product_Weight'],
43
- 'product_allocated_area': data['Product_Allocated_Area'],
44
- 'product_mrp': data['Product_MRP']
45
  }
46
 
47
  # Convert the extracted data into a Pandas DataFrame
 
32
 
33
  # Extract relevant features from the JSON data
34
  sample = {
35
+ 'Product_Type': data['Product_Type'],
36
+ 'Product_Sugar_Content': data['Product_Sugar_Content'],
37
+ 'Store_Establishment_Year': data['Store_Establishment_Year'],
38
+ 'Store_Size': data['Store_Size'],
39
+ 'Store_Location_City_Type': data['Store_Location_City_Type'],
40
+ 'Store_Type': data['Store_Type'],
41
  # 'store_id': data['Store_Id'],
42
+ 'Product_Weight': data['Product_Weight'],
43
+ 'Product_Allocated_Area': data['Product_Allocated_Area'],
44
+ 'Product_MRP': data['Product_MRP']
45
  }
46
 
47
  # Convert the extracted data into a Pandas DataFrame