Segizu commited on
Commit
2955be6
·
1 Parent(s): 016fe76

metadata v12

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -115,7 +115,7 @@ def find_similar_faces(uploaded_image: Image.Image):
115
  summary = ""
116
  for sim, name, img in top_matches:
117
  caption = f"{name} - Similitud: {sim:.2f}"
118
- gallery_items.append((img, caption))
119
  summary += caption + "\n"
120
 
121
  return gallery_items, summary
 
115
  summary = ""
116
  for sim, name, img in top_matches:
117
  caption = f"{name} - Similitud: {sim:.2f}"
118
+ gallery_items.append((np.array(img), caption))
119
  summary += caption + "\n"
120
 
121
  return gallery_items, summary