Spaces:
Sleeping
Sleeping
import fn | |
import gradio as gr | |
fn.load_model() | |
demo = gr.Interface( | |
fn=fn.speech_to_text, | |
inputs=[ | |
gr.Audio(sources="upload", type="filepath"), | |
], | |
outputs=["text", "text"]) | |
if __name__ == '__main__': | |
demo.launch() | |