Update app.py
Browse files
app.py
CHANGED
@@ -58,7 +58,7 @@ def create_retriever_from_chroma(vectorstore_path="docs/chroma/", search_type='m
|
|
58 |
|
59 |
|
60 |
# Create the vectorstore
|
61 |
-
|
62 |
documents=split_docs, embedding=embeddings, persist_directory=vectorstore_path
|
63 |
)
|
64 |
|
|
|
58 |
|
59 |
|
60 |
# Create the vectorstore
|
61 |
+
vectorstore = Chroma.from_documents(
|
62 |
documents=split_docs, embedding=embeddings, persist_directory=vectorstore_path
|
63 |
)
|
64 |
|