bupa1018 commited on
Commit
56200ba
·
1 Parent(s): 8147be3

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -448,7 +448,7 @@ def initialize():
448
  print(data_path)
449
  texts = ["Text 1", "Text 2", "Text 3"]
450
 
451
- vectorstore = Chroma.from_texts(texts, embedding_function=EMBEDDING_MODEL_NAME, data_path)
452
 
453
  initialize()
454
 
 
448
  print(data_path)
449
  texts = ["Text 1", "Text 2", "Text 3"]
450
 
451
+ vectorstore = Chroma.from_texts(texts, embedding_function=EMBEDDING_MODEL_NAME, persist_directory = data_path)
452
 
453
  initialize()
454