File size: 196 Bytes
745f148
 
 
e266a77
745f148
 
 
1
2
3
4
5
6
7
8
import gradio as gr

def greet(name):
    return "Hello " + name + "! I'm gradio, nice to meet you ! Have a good day !"

demo = gr.Interface(fn=greet, inputs="text", outputs="text")
demo.launch()