william4416's picture
Create app.py
56c27a6 verified
raw
history blame
150 Bytes
import gradio as gr
def greet(name):
return "Hello " + name + "!!"
iface = gr.Interface(fn=greet, inputs="text", outputs="text")
iface.launch()