File size: 178 Bytes
745f148
 
 
15ef9f5
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 !"

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