Update app.py
Browse files
app.py
CHANGED
@@ -445,10 +445,10 @@ def initialize():
|
|
445 |
|
446 |
# Construct the path to the 'data' folder
|
447 |
data_path = os.path.join(current_directory, 'data')
|
448 |
-
|
449 |
texts = ["Text 1", "Text 2", "Text 3"]
|
450 |
|
451 |
-
vectorstore = Chroma.from_texts(texts, embedding_function=EMBEDDING_MODEL_NAME)
|
452 |
|
453 |
initialize()
|
454 |
|
|
|
445 |
|
446 |
# Construct the path to the 'data' folder
|
447 |
data_path = os.path.join(current_directory, 'data')
|
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 |
|