Upload folder using huggingface_hub
Browse files
app.py
CHANGED
|
@@ -35,6 +35,9 @@ def predict_Product_Sales():
|
|
| 35 |
It expects a JSON payload containing Proeduct details and returns
|
| 36 |
the predicted sales price as a JSON response.
|
| 37 |
"""
|
|
|
|
|
|
|
|
|
|
| 38 |
# Get the JSON data from the request body
|
| 39 |
product_data = request.get_json()
|
| 40 |
|
|
|
|
| 35 |
It expects a JSON payload containing Proeduct details and returns
|
| 36 |
the predicted sales price as a JSON response.
|
| 37 |
"""
|
| 38 |
+
|
| 39 |
+
product_sales_predictor_api.logger.info('single prediction entered')
|
| 40 |
+
|
| 41 |
# Get the JSON data from the request body
|
| 42 |
product_data = request.get_json()
|
| 43 |
|