ajitemmanuel26 commited on
Commit
cbe0ca6
·
verified ·
1 Parent(s): ca85dd8

line 73 - it should be image instead of image image_url -> [image = Image.open(BytesIO(requests.get(image_url).content))]

Browse files
Files changed (1) hide show
  1. README.md +1 -1
README.md CHANGED
@@ -70,7 +70,7 @@ To encode the content:
70
  ```python
71
  text = 'a cityscape bathed in the warm glow of the sun, with varied architecture and a towering, snow-capped mountain rising majestically in the background'
72
  image_url = 'https://media-cdn.tripadvisor.com/media/photo-s/1b/28/6b/53/lovely-armenia.jpg'
73
- image_url = Image.open(BytesIO(requests.get(image_url).content))
74
 
75
  image_data = processor_image(image)
76
  text_data = processor_text(text)
 
70
  ```python
71
  text = 'a cityscape bathed in the warm glow of the sun, with varied architecture and a towering, snow-capped mountain rising majestically in the background'
72
  image_url = 'https://media-cdn.tripadvisor.com/media/photo-s/1b/28/6b/53/lovely-armenia.jpg'
73
+ image = Image.open(BytesIO(requests.get(image_url).content))
74
 
75
  image_data = processor_image(image)
76
  text_data = processor_text(text)