RGMC / app.py
NikitaSrivatsan
First pass at captioning functionality through web app
48ac659
raw
history blame
244 Bytes
import gradio as gr
from infer import infer
def greet(name):
return f'Hello {name}!!'
demo = gr.Interface(fn=infer,
inputs=gr.Audio(sources='upload', type='filepath'),
outputs='text')
demo.launch()