bupa1018 commited on
Commit
e920a3e
·
1 Parent(s): 1a1349e

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -441,7 +441,7 @@ def initialize():
441
  home = os.path.join(tmp_dir_path, new_sub_path)
442
 
443
  embedding_model = HuggingFaceEmbeddings(model_name=EMBEDDING_MODEL_NAME)
444
- vectorstore = Chroma.from_texts(texts=doc_chunks, embedding=embedding_model, persist_directory=home)
445
 
446
  print("Appended path stored in 'home':", home)
447
 
 
441
  home = os.path.join(tmp_dir_path, new_sub_path)
442
 
443
  embedding_model = HuggingFaceEmbeddings(model_name=EMBEDDING_MODEL_NAME)
444
+ vectorstore = Chroma.from_texts(texts=doc_texts, embedding=embedding_model, persist_directory=home)
445
 
446
  print("Appended path stored in 'home':", home)
447