Skip to content

Commit

Permalink
Docs: Undefined variable in README (#85)
Browse files Browse the repository at this point in the history
  • Loading branch information
sebouh authored May 1, 2024
1 parent f818a08 commit 400c6ba
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -153,7 +153,7 @@ from io import BytesIO
from PIL import Image

image_url = 'https://media-cdn.tripadvisor.com/media/photo-s/1b/28/6b/53/lovely-armenia.jpg'
image_url = Image.open(BytesIO(requests.get(image_url).content))
image = Image.open(BytesIO(requests.get(image_url).content))
image_data = processor_image(image)
image_features, image_embedding = model_image.encode(image_data, return_features=True)
```
Expand Down

0 comments on commit 400c6ba

Please sign in to comment.