karora1804 commited on
Commit
83ea2f0
·
verified ·
1 Parent(s): 47c380c

Upload folder using huggingface_hub

Browse files
Files changed (1) hide show
  1. app.py +1 -3
app.py CHANGED
@@ -33,7 +33,7 @@ def predict_store_total_sales():
33
  # Extract relevant features from the JSON data
34
  sample = {
35
  'Product_Weight': store_data['product_weight'],
36
- 'Product_Sugar_Content': store_data['product_suger_content'],
37
  'Product_Allocated_Area': store_data['product_allocated_area'],
38
  'Product_Type': store_data['product_type'],
39
  'Product_MRP': store_data['product_mrp'],
@@ -51,8 +51,6 @@ def predict_store_total_sales():
51
  # Make prediction (get log_sales)
52
  predicted_log_total_sales = model.predict(input_data).tolist()[0]
53
 
54
- st.write("predicted_log_total_sales:", {predicted_log_total_sales})
55
-
56
  # Calculate actual price
57
  #predicted_total_sales = np.exp(predicted_log_total_sales)
58
 
 
33
  # Extract relevant features from the JSON data
34
  sample = {
35
  'Product_Weight': store_data['product_weight'],
36
+ 'Product_Sugar_Content': store_data['product_sugar_content'],
37
  'Product_Allocated_Area': store_data['product_allocated_area'],
38
  'Product_Type': store_data['product_type'],
39
  'Product_MRP': store_data['product_mrp'],
 
51
  # Make prediction (get log_sales)
52
  predicted_log_total_sales = model.predict(input_data).tolist()[0]
53
 
 
 
54
  # Calculate actual price
55
  #predicted_total_sales = np.exp(predicted_log_total_sales)
56