RobotJelly commited on
Commit
26787f1
·
1 Parent(s): a8854b2
Files changed (1) hide show
  1. app.py +2 -2
app.py CHANGED
@@ -15,8 +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
- 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
 
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}?w=640"
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