adflkajf commited on
Commit
05932ed
·
1 Parent(s): 1dc9376

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -2
app.py CHANGED
@@ -37,10 +37,10 @@ embeddings = OpenAIEmbeddings()
37
 
38
 
39
  # Create document search
40
- document_search = FAISS.from_texts(texts, embeddings)
41
 
42
  #########################################################
43
- document_search.save_local("faiss_index")
44
 
45
  #below lines loads the vectorized data that was saved in previous code line
46
  new_document_search = FAISS.load_local("faiss_index", embeddings)
 
37
 
38
 
39
  # Create document search
40
+ #->document_search = FAISS.from_texts(texts, embeddings)
41
 
42
  #########################################################
43
+ #->document_search.save_local("faiss_index")
44
 
45
  #below lines loads the vectorized data that was saved in previous code line
46
  new_document_search = FAISS.load_local("faiss_index", embeddings)