import gradio as gr gr.Interface( fn=transcribe, inputs = [gr.Audio(source="microphone", type="filepath")], outputs=["textbox"] ).launch()