import gradio | |
def my_inference_function(name): | |
return "Hello " + name + "!" | |
gr_interface = gradio.Interface( | |
fn = my_inference_function, | |
inputs = "text", | |
outputs = "text" | |
) | |
gr_interface.launch() | |
import gradio | |
def my_inference_function(name): | |
return "Hello " + name + "!" | |
gr_interface = gradio.Interface( | |
fn = my_inference_function, | |
inputs = "text", | |
outputs = "text" | |
) | |
gr_interface.launch() | |