Update app.py
Browse files
app.py
CHANGED
|
@@ -344,7 +344,8 @@ def check_stock_levels_and_send_alerts():
|
|
| 344 |
print(f"Error checking stock levels and sending alerts: {str(e)}")
|
| 345 |
|
| 346 |
# Schedule the stock level check every 5 hours
|
| 347 |
-
schedule.every(5).
|
|
|
|
| 348 |
|
| 349 |
# Gradio Interface
|
| 350 |
def app():
|
|
|
|
| 344 |
print(f"Error checking stock levels and sending alerts: {str(e)}")
|
| 345 |
|
| 346 |
# Schedule the stock level check every 5 hours
|
| 347 |
+
schedule.every(5).minutes.do(check_stock_levels_and_send_alerts)
|
| 348 |
+
|
| 349 |
|
| 350 |
# Gradio Interface
|
| 351 |
def app():
|