File size: 337 Bytes
6849423
 
 
387be00
e8453f9
 
6849423
82404a6
 
d849ffa
e8453f9
1
2
3
4
5
6
7
8
9
10
11
12
import gradio as gr

def greet(name):
    return "Hello " + name + "!! " + iface.api_name+" da el api name "
def greet1(name):
    return "Hello ya client" +name

# iface = gr.Interface(fn=greet, inputs="text", outputs="text")
# iface.launch()
iten=gr.Interface(fn=greet1, inputs="text", outputs="text",api_name="testing")
iten.launch()