ariG23498 HF staff commited on
Commit
884f790
1 Parent(s): 1d40724

chore: try to add a list for carousel

Browse files
Files changed (1) hide show
  1. app.py +8 -8
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
- ).launch(share=True)
 
 
 
 
 
 
 
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"),