File size: 149 Bytes
68dfd2f
271a089
 
 
 
 
 
1
2
3
4
5
6
7
import gradio as gr

def greet(input):
    return "Hello " + input + "!!"

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