Spaces:
Sleeping
Sleeping
Upload folder using huggingface_hub
Browse files
app.py
CHANGED
|
@@ -59,7 +59,7 @@ def predict_sales_number():
|
|
| 59 |
# When we send this value directly within a JSON response, Flask's jsonify function encounters a datatype error
|
| 60 |
|
| 61 |
# Return the actual price
|
| 62 |
-
return jsonify({'Predicted Sales
|
| 63 |
|
| 64 |
|
| 65 |
# Define an endpoint for batch prediction (POST request)
|
|
|
|
| 59 |
# When we send this value directly within a JSON response, Flask's jsonify function encounters a datatype error
|
| 60 |
|
| 61 |
# Return the actual price
|
| 62 |
+
return jsonify({'Predicted Sales': predicted_sales_number})
|
| 63 |
|
| 64 |
|
| 65 |
# Define an endpoint for batch prediction (POST request)
|