import gradio as gr | |
def infer(name): | |
return "Hello " + name + "!" | |
endpoint = gr.Interface(fn=infer, inputs="text", outputs="text") | |
endpoint.launch() |
import gradio as gr | |
def infer(name): | |
return "Hello " + name + "!" | |
endpoint = gr.Interface(fn=infer, inputs="text", outputs="text") | |
endpoint.launch() |