Spaces:
Runtime error
Runtime error
Greg Thompson
commited on
Commit
·
00deb73
1
Parent(s):
4cf8d83
Activate post request to send card
Browse files
mathtext_fastapi/conversation_manager.py
CHANGED
|
@@ -73,11 +73,7 @@ def generate_message(data_json):
|
|
| 73 |
}
|
| 74 |
}
|
| 75 |
|
| 76 |
-
|
| 77 |
-
print(data)
|
| 78 |
-
print("=========================")
|
| 79 |
-
|
| 80 |
-
# r = requests.post(f'https://whatsapp.turn.io/v1/messages', data=json.dumps(data), headers=headers)
|
| 81 |
|
| 82 |
context = {"content":{"user":"Alan", "state": "received-and-replied-state"}}
|
| 83 |
|
|
|
|
| 73 |
}
|
| 74 |
}
|
| 75 |
|
| 76 |
+
r = requests.post(f'https://whatsapp.turn.io/v1/messages', data=json.dumps(data), headers=headers)
|
|
|
|
|
|
|
|
|
|
|
|
|
| 77 |
|
| 78 |
context = {"content":{"user":"Alan", "state": "received-and-replied-state"}}
|
| 79 |
|