File size: 430 Bytes
5a5d614
 
 
 
 
 
 
 
 
 
 
 
1
2
3
4
5
6
7
8
9
10
11
12
import gradio as gr 
from model import audio_transcribe

iface = gr.Interface(
    fn=audio_transcribe,
    inputs=[gr.Audio(sources="upload", type="filepath", label="Upload Your Audio File")],
    outputs=gr.Textbox(label="Audio Transcription"),
    title="Audio Transcription - Whisper Large V3 Turbo",
    description="Upload an audio file and get the transcribed text."
)

iface.launch(server_name="0.0.0.0", server_port=7860)