Spaces:
Sleeping
Sleeping
Upload folder using huggingface_hub
Browse files
app.py
CHANGED
|
@@ -132,7 +132,7 @@ def predict_sales_batch():
|
|
| 132 |
|
| 133 |
except Exception as e:
|
| 134 |
print(f"Error during batch prediction: {e}") # Added print for debugging
|
| 135 |
-
return jsonify({"error": str(e), "message": "Prediction failed"}), 500
|
| 136 |
|
| 137 |
# Run the Flask app
|
| 138 |
if __name__ == '__main__':
|
|
|
|
| 132 |
|
| 133 |
except Exception as e:
|
| 134 |
print(f"Error during batch prediction: {e}") # Added print for debugging
|
| 135 |
+
return jsonify({"error": str(e), "message": "Prediction failed"}), 500
|
| 136 |
|
| 137 |
# Run the Flask app
|
| 138 |
if __name__ == '__main__':
|