Fix/Complete a Python Script to Play the Twilio TTS Voice

Job ID: 36351960

Budget: $30 – $250 USD

Hello there,

I have a Python script connected to the Twilio API/Service. It already does the following:
-Hears the audio from my phone.
-Sends the audio to a STT function
-Sends and receives text with the ChatGPT API.

But I still need to play the ChatGPT answer with the Twilio TTS voice, and keep streaming the call until the customer hangup. (This is the task you will need to complete).
Related categories: Python Twilio