import gradio as gr from inference import * iface = gr.Interface(fn=inference, inputs=gr.inputs.Audio(source="upload", type="filepath"), outputs="text") iface.launch()