RobotJelly commited on
Commit
fc20779
1 Parent(s): ae3f655
Files changed (1) hide show
  1. app.py +2 -1
app.py CHANGED
@@ -15,7 +15,8 @@ def show_output_image(matched_images) :
15
  image=[]
16
  for photo_id in matched_images:
17
  #photo_image_url = f"https://unsplash.com/photos/{photo_id}/download?w=280"
18
- photo_image_url = f"https://unsplash.com/photos/{photo_id}/download"
 
19
  response = requests.get(photo_image_url)
20
  img = Image.open(BytesIO(response.content))
21
  #return img
 
15
  image=[]
16
  for photo_id in matched_images:
17
  #photo_image_url = f"https://unsplash.com/photos/{photo_id}/download?w=280"
18
+ #photo_image_url = f"https://unsplash.com/photos/{photo_id}/download"
19
+ photo_image_url = f"https://unsplash.com/photos/{photo_id}?ixid=2yJhcHBfaWQiOjEyMDd9&fm=jpg"
20
  response = requests.get(photo_image_url)
21
  img = Image.open(BytesIO(response.content))
22
  #return img