File size: 223 Bytes
a11ee17
 
 
 
 
 
 
 
 
 
 
 
 
1
2
3
4
5
6
7
8
9
10
11
12
13
import gradio as gr

def my_inference_function(name):
    return "Hello " + name + "!"

gr_interface = gr.Interface(
    fn = "my_inference_function",
    input = "texts",
    outputs = "texts"
)

gr_interface.launch()