import gradio as gr model = gr.load("models/superb/wav2vec2-base-superb-er") def transcribe(audio): return model(audio) gr.Interface(transcribe, gr.Audio(type="filepath"), gr.Textbox()).launch(share=True)