big_vision icon indicating copy to clipboard operation
big_vision copied to clipboard

Update SigLIP_demo.ipynb

Open ahmadmustafaanis opened this issue 6 months ago • 0 comments

For a single entry, the tuple is not created. Using a list we can run the demo on a single image/text. i.e

images = [PIL.Image.open(fname) for fname in (
 'my_image.png'
)]

Wont work

images = [PIL.Image.open(fname) for fname in [
 'my_image.png'
]]

works

ahmadmustafaanis avatar Dec 10 '23 10:12 ahmadmustafaanis