dinhquangson commited on
Commit
c250df9
1 Parent(s): 0c1825f

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -90,7 +90,7 @@ def get_vectorstore(text_chunks):
90
  """
91
  MODEL_NAME = "sentence-transformers/all-MiniLM-L6-v2"
92
  hf_embeddings = HuggingFaceEmbeddings(model_name=MODEL_NAME)
93
- vectorstore = Chroma.from_documents(texts, hf_embeddings, persist_directory="db")
94
  return vectorstore
95
 
96
 
 
90
  """
91
  MODEL_NAME = "sentence-transformers/all-MiniLM-L6-v2"
92
  hf_embeddings = HuggingFaceEmbeddings(model_name=MODEL_NAME)
93
+ vectorstore = Chroma.from_documents(text_chunks, hf_embeddings, persist_directory="db")
94
  return vectorstore
95
 
96