Spaces:
Sleeping
Sleeping
Neurolingua
commited on
Update app.py
Browse files
app.py
CHANGED
@@ -47,8 +47,7 @@ def whatsapp_webhook():
|
|
47 |
sender = request.values.get('From')
|
48 |
num_media = int(request.values.get('NumMedia', 0))
|
49 |
|
50 |
-
chat_history =
|
51 |
-
|
52 |
if num_media > 0:
|
53 |
media_url = request.values.get('MediaUrl0')
|
54 |
content_type = request.values.get('MediaContentType0')
|
|
|
47 |
sender = request.values.get('From')
|
48 |
num_media = int(request.values.get('NumMedia', 0))
|
49 |
|
50 |
+
chat_history = 0
|
|
|
51 |
if num_media > 0:
|
52 |
media_url = request.values.get('MediaUrl0')
|
53 |
content_type = request.values.get('MediaContentType0')
|