ariG23498 commited on
Commit
0e00876
β€’
1 Parent(s): d0e4639

feat: adding labels

Browse files
Files changed (1) hide show
  1. app.py +7 -6
app.py CHANGED
@@ -45,18 +45,19 @@ Involution Kernel
45
  description="""
46
  Visualize the activation maps from the Involution Kernel.πŸ•΅πŸ»β€β™‚οΈ
47
  """
 
 
 
 
 
 
48
  iface = gr.Interface(
49
  fn=infer,
50
  title="Involutional Neural Networks",
51
  article=article,
52
  description=description,
53
  inputs=gr.inputs.Image(label="Input Image"),
54
- outputs=gr.outputs.Carousel([
55
- gr.outputs.Image(label="Activation from Kernel 1"),
56
- gr.outputs.Image(label="Activation from Kernel 2"),
57
- gr.outputs.Image(label="Activation from Kernel 3"),
58
- ],
59
- label="Activation Maps ▢️"),
60
  examples=[["examples/lama.jpeg"], ["examples/dalai_lama.jpeg"]],
61
  layout="horizontal",
62
  ).launch(share=True)
 
45
  description="""
46
  Visualize the activation maps from the Involution Kernel.πŸ•΅πŸ»β€β™‚οΈ
47
  """
48
+
49
+ labels = [
50
+ "1",
51
+ "2",
52
+ "3",
53
+ ]
54
  iface = gr.Interface(
55
  fn=infer,
56
  title="Involutional Neural Networks",
57
  article=article,
58
  description=description,
59
  inputs=gr.inputs.Image(label="Input Image"),
60
+ outputs=gr.outputs.Carousel(["image", "image", "image"], label=labels),
 
 
 
 
 
61
  examples=[["examples/lama.jpeg"], ["examples/dalai_lama.jpeg"]],
62
  layout="horizontal",
63
  ).launch(share=True)