tensorkelechi commited on
Commit
dc3bcae
1 Parent(s): 618a61c

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -53,7 +53,7 @@ def init_search(_embedded_data, _embedder):
53
  return text_search
54
 
55
  def get_images_from_description(description):
56
- scores, ret_images = finder.get_nearest_examples(description, k_images=4)
57
  return scores, ret_images
58
 
59
 
 
53
  return text_search
54
 
55
  def get_images_from_description(description):
56
+ scores, ret_images = finder.get_similar_images(description, k_images=4)
57
  return scores, ret_images
58
 
59