karora1804 commited on
Commit
0d746fc
·
verified ·
1 Parent(s): 621d15f

Upload folder using huggingface_hub

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -49,7 +49,7 @@ def predict_store_total_sales():
49
 
50
  #st.write("Converted Json:", input_data.to_dict(orient='records')[0])
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)
 
49
 
50
  #st.write("Converted Json:", input_data.to_dict(orient='records')[0])
51
  # Make prediction (get log_sales)
52
+ predicted_log_total_sales = model.predict(input_data)
53
 
54
  # Calculate actual price
55
  #predicted_total_sales = np.exp(predicted_log_total_sales)