Spaces:
Build error
Build error
Commit
·
8fea69e
1
Parent(s):
ab690cb
Update app.py
Browse files
app.py
CHANGED
@@ -22,5 +22,5 @@ def greet(name):
|
|
22 |
image_pil.save("test.png")
|
23 |
return "Hello " + prompt + "!!"
|
24 |
|
25 |
-
iface = gr.Interface(fn=greet, inputs="text", outputs=[
|
26 |
iface.launch()
|
|
|
22 |
image_pil.save("test.png")
|
23 |
return "Hello " + prompt + "!!"
|
24 |
|
25 |
+
iface = gr.Interface(fn=greet, inputs="text", outputs=[image_pil,gr.outputs.Carousel(label="Individual images",components=["image"]),gr.outputs.Textbox(label="Error")])
|
26 |
iface.launch()
|