If you’re using Gradio’s built-in browser mic input (e.g. gr.Audio(source="microphone") for real-time ASR), you can drop both sounddevice and pyaudio. You’ll still need ffmpeg on the server (or your dev box) so Gradio can transcode incoming audio blobs
added a streaming Audio input component per the Gradio guide—using Whisper for transcription in real time and piping the resulting text into the chatflow