A commited on
Upload folder using huggingface_hub
Browse files
app.py
CHANGED
|
@@ -68,6 +68,7 @@ def predict_sales():
|
|
| 68 |
return jsonify({'Predicted Price (in dollars)': predicted_price})
|
| 69 |
|
| 70 |
|
|
|
|
| 71 |
# Define an endpoint for batch prediction (POST request)
|
| 72 |
@superkart_product_store_sales_total_predictor_api.post('/v1/salesbatch')
|
| 73 |
def predict_sales_batch():
|
|
|
|
| 68 |
return jsonify({'Predicted Price (in dollars)': predicted_price})
|
| 69 |
|
| 70 |
|
| 71 |
+
|
| 72 |
# Define an endpoint for batch prediction (POST request)
|
| 73 |
@superkart_product_store_sales_total_predictor_api.post('/v1/salesbatch')
|
| 74 |
def predict_sales_batch():
|