71b7f36 c8a2bc9 71b7f36 c8a2bc9 71b7f36
1
2
3
4
5
6
7
8
9
10
11
import gradio def my_inference_function(name): return "Hello " + name + "!" gradio_interface = gradio.Interface( fn = my_inference_function, inputs = "text", outputs = "text" ) gradio_interface.launch()