snoringAI / app.py
CXDJY's picture
Try with differrent input type
2f8f9c7
raw
history blame
240 Bytes
import gradio as gr
def greet(name):
# return "Hello " + str(name[1]) + "!!"
return name
iface = gr.Interface(fn=greet, inputs="file", outputs="text")
# iface = gr.Interface(fn=greet, inputs="audio", outputs="text")
iface.launch()