Spaces:
Build error
Build error
Commit
·
6dd1bf4
1
Parent(s):
4d19a67
Update app.py
Browse files
app.py
CHANGED
|
@@ -20,7 +20,8 @@ def greet(name):
|
|
| 20 |
|
| 21 |
# save image
|
| 22 |
image_pil.save("test.png")
|
| 23 |
-
return
|
|
|
|
| 24 |
|
| 25 |
image = gr.outputs.Image(type="pil", label="Your result")
|
| 26 |
iface = gr.Interface(fn=greet, inputs="text", outputs=[image,gr.outputs.Carousel(label="Individual images",components=["image"]),gr.outputs.Textbox(label="Error")])
|
|
|
|
| 20 |
|
| 21 |
# save image
|
| 22 |
image_pil.save("test.png")
|
| 23 |
+
return image_pil
|
| 24 |
+
#return "Gello " + prompt + "!!"
|
| 25 |
|
| 26 |
image = gr.outputs.Image(type="pil", label="Your result")
|
| 27 |
iface = gr.Interface(fn=greet, inputs="text", outputs=[image,gr.outputs.Carousel(label="Individual images",components=["image"]),gr.outputs.Textbox(label="Error")])
|