Spaces:
Sleeping
Sleeping
Upload folder using huggingface_hub
Browse files
app.py
CHANGED
|
@@ -59,8 +59,8 @@ def predict_sales():
|
|
| 59 |
|
| 60 |
# Return the prediction as a JSON response
|
| 61 |
#return jsonify({'Sales': prediction})
|
| 62 |
-
|
| 63 |
-
return jsonify({'Predicted Sales Conversion Status (0/1)': int(prediction)})
|
| 64 |
|
| 65 |
|
| 66 |
|
|
|
|
| 59 |
|
| 60 |
# Return the prediction as a JSON response
|
| 61 |
#return jsonify({'Sales': prediction})
|
| 62 |
+
return jsonify({'Sales': float(prediction)})
|
| 63 |
+
#return jsonify({'Predicted Sales Conversion Status (0/1)': int(prediction)})
|
| 64 |
|
| 65 |
|
| 66 |
|