Upload folder using huggingface_hub
Browse files
app.py
CHANGED
|
@@ -77,6 +77,8 @@ def predict_sales_batch():
|
|
| 77 |
and returns the predicted product sales prices as a dictionary in the JSON response.
|
| 78 |
"""
|
| 79 |
|
|
|
|
|
|
|
| 80 |
# Get the uploaded CSV file from the request
|
| 81 |
file = request.files['file']
|
| 82 |
|
|
|
|
| 77 |
and returns the predicted product sales prices as a dictionary in the JSON response.
|
| 78 |
"""
|
| 79 |
|
| 80 |
+
print(">>> Batch endpoint invoked!", flush=True)
|
| 81 |
+
|
| 82 |
# Get the uploaded CSV file from the request
|
| 83 |
file = request.files['file']
|
| 84 |
|