kotoba_whisper / app.py
aka7774's picture
Update app.py
5046ab9 verified
raw
history blame
No virus
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()