Spaces:
Sleeping
Sleeping
Neurolingua
commited on
Commit
•
4248e55
1
Parent(s):
a4f745d
Update app.py
Browse files
app.py
CHANGED
@@ -72,8 +72,8 @@ def whatsapp_webhook():
|
|
72 |
content_type = request.values.get('MediaContentType0')
|
73 |
|
74 |
if content_type.startswith('image/'):
|
75 |
-
r = requests.get(media_url)
|
76 |
-
r.raise_for_status()
|
77 |
response_text=media_url
|
78 |
|
79 |
'''# Generate a unique filename
|
|
|
72 |
content_type = request.values.get('MediaContentType0')
|
73 |
|
74 |
if content_type.startswith('image/'):
|
75 |
+
'''r = requests.get(media_url)
|
76 |
+
r.raise_for_status()'''
|
77 |
response_text=media_url
|
78 |
|
79 |
'''# Generate a unique filename
|