Spaces:
Sleeping
Sleeping
Update main.py
Browse files
main.py
CHANGED
|
@@ -30,6 +30,6 @@ async def reply_whatsapp(request: Request):
|
|
| 30 |
msg = response.message(f"Hi, your number is {from_number} and you said {message_body}")
|
| 31 |
msg.media(GOOD_BOY_URL)
|
| 32 |
|
| 33 |
-
return PlainTextResponse(str(response))
|
| 34 |
|
| 35 |
# Run the application (Make sure you have the necessary setup to run FastAPI)
|
|
|
|
| 30 |
msg = response.message(f"Hi, your number is {from_number} and you said {message_body}")
|
| 31 |
msg.media(GOOD_BOY_URL)
|
| 32 |
|
| 33 |
+
return PlainTextResponse(str(response), media_type="application/xml")
|
| 34 |
|
| 35 |
# Run the application (Make sure you have the necessary setup to run FastAPI)
|