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