Upload folder using huggingface_hub
Browse files
app.py
CHANGED
|
@@ -62,7 +62,7 @@ def predict_store_total_sales():
|
|
| 62 |
# When we send this value directly within a JSON response, Flask's jsonify function encounters a datatype error
|
| 63 |
|
| 64 |
# Return the actual price
|
| 65 |
-
return jsonify({'
|
| 66 |
|
| 67 |
|
| 68 |
# Define an endpoint for batch prediction (POST request)
|
|
|
|
| 62 |
# When we send this value directly within a JSON response, Flask's jsonify function encounters a datatype error
|
| 63 |
|
| 64 |
# Return the actual price
|
| 65 |
+
return jsonify({'Predicted_Store_Total_Sales': predicted_total_sales})
|
| 66 |
|
| 67 |
|
| 68 |
# Define an endpoint for batch prediction (POST request)
|