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()