Spaces:
Sleeping
Sleeping
Modified Docker file
Browse files- app.py +0 -2
- db/chroma.sqlite3 +0 -0
app.py
CHANGED
@@ -114,8 +114,6 @@ def process_txt():
|
|
114 |
vectordb = Chroma.from_documents(documents=texts,
|
115 |
embedding=embeddings,
|
116 |
persist_directory=persist_directory)
|
117 |
-
vectordb.persist()
|
118 |
-
vectordb = None
|
119 |
vectordb = Chroma(persist_directory=persist_directory,
|
120 |
embedding_function=embeddings)
|
121 |
retriever = vectordb.as_retriever()
|
|
|
114 |
vectordb = Chroma.from_documents(documents=texts,
|
115 |
embedding=embeddings,
|
116 |
persist_directory=persist_directory)
|
|
|
|
|
117 |
vectordb = Chroma(persist_directory=persist_directory,
|
118 |
embedding_function=embeddings)
|
119 |
retriever = vectordb.as_retriever()
|
db/chroma.sqlite3
CHANGED
Binary files a/db/chroma.sqlite3 and b/db/chroma.sqlite3 differ
|
|