test2 / app.py
wduo's picture
Create app.py
a14ddf7
raw
history blame contribute delete
150 Bytes
import gradio as gr
def greet(name):
return "Hello " + name + "!!"
iface = gr.Interface(fn=greet, inputs="text", outputs="text")
iface.launch()