Spaces:
Runtime error
Runtime error
chore: try to add a list for carousel
Browse files
app.py
CHANGED
@@ -51,12 +51,12 @@ iface = gr.Interface(
|
|
51 |
article=article,
|
52 |
description=description,
|
53 |
inputs=gr.inputs.Image(label="Input Image"),
|
54 |
-
outputs=gr.outputs.Carousel(
|
55 |
-
[
|
56 |
-
gr.outputs.Image(label="Activation from Kernel 1"),
|
57 |
-
gr.outputs.Image(label="Activation from Kernel 2"),
|
58 |
-
gr.outputs.Image(label="Activation from Kernel 3"),
|
59 |
-
]
|
60 |
-
),
|
61 |
examples=[["examples/lama.jpeg"], ["examples/dalai_lama.jpeg"]],
|
62 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
51 |
article=article,
|
52 |
description=description,
|
53 |
inputs=gr.inputs.Image(label="Input Image"),
|
54 |
+
outputs=gr.outputs.Carousel(["image", "image", "image"]),
|
|
|
|
|
|
|
|
|
|
|
|
|
55 |
examples=[["examples/lama.jpeg"], ["examples/dalai_lama.jpeg"]],
|
56 |
+
layout="horizontal",
|
57 |
+
).launch(share=True)
|
58 |
+
|
59 |
+
# comments
|
60 |
+
# gr.outputs.Image(label="Activation from Kernel 1"),
|
61 |
+
# gr.outputs.Image(label="Activation from Kernel 2"),
|
62 |
+
# gr.outputs.Image(label="Activation from Kernel 3"),
|