Spaces:
Runtime error
Runtime error
import fn | |
import gradio as gr | |
fn.load_model('large-v3') | |
gr.Interface( | |
fn=fn.speech_to_text, | |
inputs=[ | |
gr.Audio(sources="upload", type="filepath"), | |
gr.Dropdown(value='large-v3', choices=["tiny", "base", "small", "medium", "large", "large-v2", "large-v3"]), | |
], | |
outputs=["text", "text"]).launch() | |