gradio_demo / hello.py
soutrik
basic gradio sessions
37c6b85
raw
history blame
166 Bytes
import gradio as gr
def greet(name):
return "Hello " + name + "!"
demo = gr.Interface(fn=greet, inputs="textbox", outputs="textbox")
demo.launch(share=True)