File size: 244 Bytes
2f61ee1
48ac659
2f61ee1
 
 
 
48ac659
3d5b800
df76cad
2f61ee1
1
2
3
4
5
6
7
8
9
10
11
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()