Spaces:
Running
Running
Hello
Browse files- cronjob_service.py +0 -1
- requirements.txt +1 -2
cronjob_service.py
CHANGED
|
@@ -49,7 +49,6 @@ def send_whatsapp_notification(message: str):
|
|
| 49 |
from_=TWILIO_WHATSAPP_FROM,
|
| 50 |
to=ADMIN_WHATSAPP_NUMBER
|
| 51 |
)
|
| 52 |
-
logger.info(f"Sent WhatsApp notification: {message}")
|
| 53 |
return True
|
| 54 |
except Exception as e:
|
| 55 |
logger.warning(f"Notification failed (non-critical): {str(e)}")
|
|
|
|
| 49 |
from_=TWILIO_WHATSAPP_FROM,
|
| 50 |
to=ADMIN_WHATSAPP_NUMBER
|
| 51 |
)
|
|
|
|
| 52 |
return True
|
| 53 |
except Exception as e:
|
| 54 |
logger.warning(f"Notification failed (non-critical): {str(e)}")
|
requirements.txt
CHANGED
|
@@ -4,5 +4,4 @@ fastapi
|
|
| 4 |
uvicorn
|
| 5 |
requests
|
| 6 |
dotenv
|
| 7 |
-
twilio
|
| 8 |
-
langchain
|
|
|
|
| 4 |
uvicorn
|
| 5 |
requests
|
| 6 |
dotenv
|
| 7 |
+
twilio
|
|
|