Python script using Whisper API to transcribe audio from microphone

Job ID: 36365462

Budget: $10 – $30 USD

I need someone to adapt this python script, so that is uses Whisper instead of Google to transcribe audio picked up by the microphone. I would like to have it use Google as a backup, in case Whisper fails / is down, etc.
Related categories: Python OpenAI ChatGPT