Spaces:
Runtime error
Runtime error
Update SendWA.py
Browse files
SendWA.py
CHANGED
@@ -1,8 +1,9 @@
|
|
1 |
from heyoo import WhatsApp
|
2 |
from ChatResponse import get_completion_from_messages
|
|
|
3 |
|
4 |
# WA credentials
|
5 |
-
token='
|
6 |
# WA Business id
|
7 |
phoneNumberId='121302277626979'
|
8 |
# Initialize WA messages
|
|
|
1 |
from heyoo import WhatsApp
|
2 |
from ChatResponse import get_completion_from_messages
|
3 |
+
import os
|
4 |
|
5 |
# WA credentials
|
6 |
+
token=os.environ['WA_TOKEN']
|
7 |
# WA Business id
|
8 |
phoneNumberId='121302277626979'
|
9 |
# Initialize WA messages
|