Spaces:
Sleeping
Sleeping
Upload folder using huggingface_hub
Browse files
app.py
CHANGED
|
@@ -38,7 +38,7 @@ def predict_sales():
|
|
| 38 |
prediction = model.predict(input_data).tolist()[0]
|
| 39 |
|
| 40 |
# Return the prediction as a JSON response
|
| 41 |
-
return jsonify({'
|
| 42 |
|
| 43 |
# Run the Flask app in debug mode
|
| 44 |
if __name__ == '__main__':
|
|
|
|
| 38 |
prediction = model.predict(input_data).tolist()[0]
|
| 39 |
|
| 40 |
# Return the prediction as a JSON response
|
| 41 |
+
return jsonify({'PredictedPrice': prediction})
|
| 42 |
|
| 43 |
# Run the Flask app in debug mode
|
| 44 |
if __name__ == '__main__':
|