openai.Audio is no longer supported when using recognize_whisper_api · Issue #720 · Uberi/speech_recognition
From the official documentation examples folder #!/usr/bin/env python3 # NOTE: this example requires PyAudio because it uses the Microphone class import speech_recognition as sr from config import ...