Santhu976 commited on
Commit
71f4fca
·
verified ·
1 Parent(s): bba6d60

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -55,7 +55,7 @@ def predict_sales_total():
55
  # When we send this value directly within a JSON response, Flask's jsonify function encounters a datatype error
56
 
57
  # Return the actual price
58
- return jsonify({'Predicted Price (in dollars)': float(predicted_price)})
59
 
60
 
61
  # Define an endpoint for batch prediction (POST request)
 
55
  # When we send this value directly within a JSON response, Flask's jsonify function encounters a datatype error
56
 
57
  # Return the actual price
58
+ return jsonify({'Predicted Price': float(predicted_price)})
59
 
60
 
61
  # Define an endpoint for batch prediction (POST request)