File size: 220 Bytes
712b87e
 
 
d18d42a
712b87e
d18d42a
 
 
 
 
 
1
2
3
4
5
6
7
8
9
10
11
import gradio as gr

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

gr.Interface(
    fn=greet,
    inputs=gr.Textbox(lines=1, placeholder="Name Here..."),
    outputs="text",
    title="Hello, World!",
).launch()