whisper1 / app.py
Mark0047's picture
Update app.py
12295a0 verified
raw
history blame
211 Bytes
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)