Now! you can chat with chatGPT by your voice. you don't need to type, just say something you want to chat.
- Change the code on line 8, line 38, line 56 where are to your api_key. (There are three things to change)
- Run progamming.
- Waitting for its response.
- Say something you want to chat with GPT.
- Enjoy!😎
*get api_key of azure Text-To-Speech(TTS) or Speech-To-Text(STT) from here:https://speech.microsoft.com/portal
*get api_key of chatGPT from here:https://platform.openai.com/account/api-keys