snoringAI / app.py
CXDJY's picture
Change input type to tuple
85c8109
raw
history blame
153 Bytes
import gradio as gr
def greet(name):
return "Hello " + name[1] + "!!"
iface = gr.Interface(fn=greet, inputs="audio", outputs="text")
iface.launch()