Spaces:
Sleeping
Sleeping
Upload folder using huggingface_hub
Browse files
app.py
CHANGED
|
@@ -58,7 +58,7 @@ def predict_sales():
|
|
| 58 |
prediction = model.predict(input_data)[0]
|
| 59 |
|
| 60 |
# Return the prediction as a JSON response
|
| 61 |
-
return jsonify({'Status': prediction})
|
| 62 |
#return jsonify({'Status': float(prediction)})
|
| 63 |
|
| 64 |
|
|
|
|
| 58 |
prediction = model.predict(input_data)[0]
|
| 59 |
|
| 60 |
# Return the prediction as a JSON response
|
| 61 |
+
return jsonify({'Status': int(prediction)})
|
| 62 |
#return jsonify({'Status': float(prediction)})
|
| 63 |
|
| 64 |
|