File size: 146 Bytes
cfafb3e
 
 
 
 
 
 
1
2
3
4
5
6
7
import gradio as gd

def greeting(name):
    return "Hello " + name

demo = gd.Interface(fn=greeting, inputs='text', outputs='text')
demo.launch()