File size: 167 Bytes
183ba69
 
 
 
 
4a35a20
183ba69
1
2
3
4
5
6
7
import gradio as gr

def greet(img):
    return "Hello " + name + "!!"

iface = gr.Interface(fn=greet, inputs=gr.Image(type='filepath'), outputs="text")
iface.launch()