tony346 commited on
Commit
0a4b074
·
1 Parent(s): 89dd67f

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -41,7 +41,7 @@ def get_text_chunks(text):
41
 
42
  def get_vectorstore(text_chunks):
43
  # Load the desired embeddings model.
44
- embeddings = HuggingFaceEmbeddings(model_name='sentence-transformers/all-MiniLM-L6-v2',
45
  model_kwargs={'device': 'cpu'})
46
  # embeddings = OpenAIEmbeddings()
47
  # embeddings = HuggingFaceInstructEmbeddings(model_name="hkunlp/instructor-xl")
 
41
 
42
  def get_vectorstore(text_chunks):
43
  # Load the desired embeddings model.
44
+ embeddings = HuggingFaceEmbeddings(model_name='sentence-transformers/all-MiniLM-L12-v2',
45
  model_kwargs={'device': 'cpu'})
46
  # embeddings = OpenAIEmbeddings()
47
  # embeddings = HuggingFaceInstructEmbeddings(model_name="hkunlp/instructor-xl")