gradio_demo / app.py
YaoLiu61's picture
init app.py
c118cf2
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()