import gradio as gr def greet(name): return "Hello " + "!!" iface = gr.Interface(fn=greet, inputs="image", outputs="text", allow_flagging="manual") iface.launch()