dinhquangson commited on
Commit
035a5a1
1 Parent(s): 1dd7d51

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +0 -2
app.py CHANGED
@@ -86,8 +86,6 @@ def get_vectorstore(text_chunks):
86
  embeddings = HuggingFaceBgeEmbeddings(
87
  model_name=model, encode_kwargs=encode_kwargs, model_kwargs={"device": "cpu"}
88
  )
89
- print("length of text_chunks:"+str(len(text_chunks)))
90
- print("length of embeddings:"+str(len(embeddings)))
91
  vectorstore = FAISS.from_texts(texts=text_chunks, embedding=embeddings)
92
  return vectorstore
93
 
 
86
  embeddings = HuggingFaceBgeEmbeddings(
87
  model_name=model, encode_kwargs=encode_kwargs, model_kwargs={"device": "cpu"}
88
  )
 
 
89
  vectorstore = FAISS.from_texts(texts=text_chunks, embedding=embeddings)
90
  return vectorstore
91