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