csalabs commited on
Commit
77b64c2
1 Parent(s): e2c3362

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -2
app.py CHANGED
@@ -31,8 +31,8 @@ def get_text_chunks(text):
31
 
32
 
33
  def get_vectorstore(text_chunks):
34
- # embeddings = OpenAIEmbeddings()
35
- embeddings = HuggingFaceInstructEmbeddings(model_name="NousResearch/Llama-2-7b-hf")
36
  vectorstore = FAISS.from_texts(texts=text_chunks, embedding=embeddings)
37
  return vectorstore
38
 
 
31
 
32
 
33
  def get_vectorstore(text_chunks):
34
+ embeddings = OpenAIEmbeddings()
35
+ # embeddings = HuggingFaceInstructEmbeddings(model_name="NousResearch/Llama-2-7b-hf")
36
  vectorstore = FAISS.from_texts(texts=text_chunks, embedding=embeddings)
37
  return vectorstore
38