reazonspeech / app.py
aka7774's picture
Upload 9 files
d691b8c verified
raw
history blame
248 Bytes
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()