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