Spaces:
Runtime error
Runtime error
chore: adding carousel output
Browse files
app.py
CHANGED
|
@@ -51,11 +51,13 @@ iface = gr.Interface(
|
|
| 51 |
article=article,
|
| 52 |
description=description,
|
| 53 |
inputs=gr.inputs.Image(label="Input Image"),
|
| 54 |
-
outputs=
|
| 55 |
-
|
| 56 |
-
|
| 57 |
-
|
| 58 |
-
|
|
|
|
|
|
|
| 59 |
examples=[["examples/lama.jpeg"], ["examples/dalai_lama.jpeg"]],
|
| 60 |
layout="horizontal",
|
| 61 |
).launch(share=True)
|
|
|
|
| 51 |
article=article,
|
| 52 |
description=description,
|
| 53 |
inputs=gr.inputs.Image(label="Input Image"),
|
| 54 |
+
outputs=gr.outputs.Carousel(
|
| 55 |
+
components=[
|
| 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 |
layout="horizontal",
|
| 63 |
).launch(share=True)
|