Ankoorkashyap commited on
Commit
ddd2eb8
·
verified ·
1 Parent(s): c1e564c

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -33,7 +33,7 @@ def get_text_chunks(text):
33
 
34
 
35
  def get_vectorstore(text_chunks):
36
- embeddings = HuggingFaceInstructEmbeddings(model_name="hkunlp/instructor-xl")
37
  vectorstore = FAISS.from_texts(texts=text_chunks, embedding=embeddings)
38
  return vectorstore
39
 
 
33
 
34
 
35
  def get_vectorstore(text_chunks):
36
+ embeddings = HuggingFaceEmbeddings(model_name="hkunlp/instructor-xl")
37
  vectorstore = FAISS.from_texts(texts=text_chunks, embedding=embeddings)
38
  return vectorstore
39