text2image / app.py
汪彦冰
Add application file
7e10f04
import gradio as gr
def greet(name):
return "Hello " + name + "!!"
iface = gr.Interface(fn=greet, inputs="text", outputs="text")
iface.launch(share=True)