990b4f2
6ec28b5
f9c8e63
c92de58
f9c8e63
12295a0 |
|
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) |