Upload folder using huggingface_hub
Browse files
app.py
CHANGED
|
@@ -55,7 +55,7 @@ def predict_product_sales_revenue():
|
|
| 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
|
| 59 |
|
| 60 |
# Run the Flask application in debug mode if this script is executed directly
|
| 61 |
if __name__ == '__main__':
|
|
|
|
| 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 sales': predicted_price})
|
| 59 |
|
| 60 |
# Run the Flask application in debug mode if this script is executed directly
|
| 61 |
if __name__ == '__main__':
|