paul hilders commited on
Commit
d58ea23
1 Parent(s): 5587e3a

Add example images

Browse files
app.py CHANGED
@@ -53,5 +53,13 @@ iface = gr.Interface(fn=run_demo,
53
  outputs=outputs,
54
  title="CLIP Grounding Explainability",
55
  description="A demonstration based on the Generic Attention-model Explainability method for Interpreting Bi-Modal Transformers by Chefer et al. (2021): https://github.com/hila-chefer/Transformer-MM-Explainability.",
56
- examples=[["harrypotter.png", "Harry"], ["harrypotter.png", "Hermione"], ["harrypotter.png", "Ron"], ["Amsterdam.png", "Amsterdam canal"], ["Amsterdam.png", "Old buildings"], ["Amsterdam.png", "Pink flowers"], ["dogs_on_bed.png", "Two dogs"], ["dogs_on_bed.png", "Book"], ["dogs_on_bed.png", "Cat"], ["Solar_system.png", "Sun"], ["Solar_system.png", "Earth"]])
 
 
 
 
 
 
 
 
57
  iface.launch(debug=True)
 
53
  outputs=outputs,
54
  title="CLIP Grounding Explainability",
55
  description="A demonstration based on the Generic Attention-model Explainability method for Interpreting Bi-Modal Transformers by Chefer et al. (2021): https://github.com/hila-chefer/Transformer-MM-Explainability.",
56
+ examples=[["example_images/harrypotter.png", "Harry"],
57
+ ["example_images/harrypotter.png", "Hermione"],
58
+ ["example_images/harrypotter.png", "Ron"],
59
+ ["example_images/Amsterdam.png", "Amsterdam canal"],
60
+ ["example_images/Amsterdam.png", "Old buildings"],
61
+ ["example_images/Amsterdam.png", "Pink flowers"],
62
+ ["example_images/dogs_on_bed.png", "Two dogs"],
63
+ ["example_images/dogs_on_bed.png", "Book"],
64
+ ["example_images/dogs_on_bed.png", "Cat"]])
65
  iface.launch(debug=True)
example_images/Amsterdam.png ADDED
example_images/dogs_on_bed.png ADDED
example_images/harrypotter.png ADDED