File size: 156 Bytes
30e76e0 |
1 2 3 4 5 6 7 8 9 |
import gradio as gr
def infer(name):
return "Hello " + name + "!"
endpoint = gr.Interface(fn=infer, inputs="text", outputs="text")
endpoint.launch() |
30e76e0 |
1 2 3 4 5 6 7 8 9 |
import gradio as gr
def infer(name):
return "Hello " + name + "!"
endpoint = gr.Interface(fn=infer, inputs="text", outputs="text")
endpoint.launch() |