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