File size: 210 Bytes
b335626
 
 
 
 
 
 
 
1
2
3
4
5
6
7
8
import gradio as gr

model = gr.load("models/openai/whisper-large-v3-turbo")

def transcribe(audio):
    return model(audio)

gr.Interface(transcribe, gr.Audio(type="filepath"), gr.Textbox()).launch(share=True)