RobotJelly commited on
Commit
ae3f655
·
1 Parent(s): f687b40
Files changed (1) hide show
  1. app.py +2 -2
app.py CHANGED
@@ -14,8 +14,8 @@ import gradio as gr
14
  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}?w=280"
19
  response = requests.get(photo_image_url)
20
  img = Image.open(BytesIO(response.content))
21
  #return img
 
14
  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