File size: 314 Bytes
51857fd
 
 
5f2f911
51857fd
1878582
 
 
 
 
 
 
6667ce7
5f2f911
 
 
1878582
51857fd
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
import gradio

def my_inference_function(name):
  return "serverside says hi " + name + "!"

gradio_interface = gradio.Interface(
  fn=my_inference_function,
  inputs="text",
  outputs="text",
  examples=[
    ["Jill"],
    ["Sam"]
  ],
  title="__",
  description="__",
  article="__"
)
gradio_interface.launch()