Pclanglais commited on
Commit
9934680
1 Parent(s): feacba8

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -51,7 +51,7 @@ def vector_search(sentence_query):
51
  closest_doc_index = np.argmax(similarities)
52
 
53
  # Closest document's embedding
54
- closest_doc_embedding = sentences_1[closest_doc_index]
55
 
56
  return closest_doc_embedding
57
 
 
51
  closest_doc_index = np.argmax(similarities)
52
 
53
  # Closest document's embedding
54
+ closest_doc_embedding = embeddings_text[closest_doc_index]
55
 
56
  return closest_doc_embedding
57