flasktestgradio / app.py
tommy24's picture
Update app.py
bf93ff7
raw
history blame
224 Bytes
import gradio as gr
def greet(name):
return "Hello, " + name + "!"
iface = gr.Interface(fn=greet, inputs="text", outputs="text", title="Greeting App", description="Enter your name and get a greeting!")
iface.launch()