MasumBhuiyan's picture
[ML Lab] Add demo inference endpoint
30e76e0
raw
history blame
No virus
156 Bytes
import gradio as gr
def infer(name):
return "Hello " + name + "!"
endpoint = gr.Interface(fn=infer, inputs="text", outputs="text")
endpoint.launch()