Spaces:
Sleeping
Sleeping
Upload folder using huggingface_hub
Browse files
app.py
CHANGED
|
@@ -84,7 +84,7 @@ def predict_sales():
|
|
| 84 |
|
| 85 |
# Return the prediction as a JSON response
|
| 86 |
return jsonify({'prediction': list(prediction)})
|
| 87 |
-
|
| 88 |
# Define an endpoint for batch prediction (POST request)
|
| 89 |
@sales_prediction.post('/v1/batch_predict')
|
| 90 |
def batch_predict():
|
|
|
|
| 84 |
|
| 85 |
# Return the prediction as a JSON response
|
| 86 |
return jsonify({'prediction': list(prediction)})
|
| 87 |
+
|
| 88 |
# Define an endpoint for batch prediction (POST request)
|
| 89 |
@sales_prediction.post('/v1/batch_predict')
|
| 90 |
def batch_predict():
|