RobotJelly commited on
Commit
e3ae961
·
1 Parent(s): 3a217c5
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -23,7 +23,7 @@ def show_output_image(matched_images, photos) :
23
  #img = Image.open(BytesIO(response.content))
24
  #return img
25
  image_path = './photos/' + photo_id + '.jpg'
26
- img = Image.open(image_path)
27
  image.append(img)
28
  return image
29
  # Encode and normalize the search query using CLIP
 
23
  #img = Image.open(BytesIO(response.content))
24
  #return img
25
  image_path = './photos/' + photo_id + '.jpg'
26
+ img = Image(image_path)
27
  image.append(img)
28
  return image
29
  # Encode and normalize the search query using CLIP