t2i / app.py
bigghuggs's picture
quiet genimage
20f5c88 verified
raw
history blame
299 Bytes
import gradio as gr
#from genimage import public_pipe
def greet(name):
#pipe("A girl smiling on crowded street", num_inference_steps=2, guidance_scale=0).images[0].save("output.png")
return "Hello " + name + "!!"
iface = gr.Interface(fn=greet, inputs="text", outputs="text")
iface.launch()