File size: 288 Bytes
d5c22c8
 
89ff071
c4316b9
 
 
 
 
 
 
 
 
 
1
2
3
4
5
6
7
8
9
10
11
12
13
import gradio as gr

gr.load("models/openai/whisper-large-v2").launch()

iface = gr.Interface(
    title="Speech-to-Text using Whisper v2",
    description="Upload an audio file to transcribe it to text.",
    theme="Monochrome",
    live=True,
    capture_session=True,
)

iface.launch()