stivenDR14
commited on
Commit
·
4fafabd
1
Parent(s):
32edd50
chroma update
Browse files- pdf_processor.py +1 -0
pdf_processor.py
CHANGED
@@ -181,6 +181,7 @@ class PDFProcessor:
|
|
181 |
if self.vectorstore:
|
182 |
self.vectorstore.delete_collection()
|
183 |
|
|
|
184 |
new_client = chromadb.EphemeralClient()
|
185 |
|
186 |
self.vectorstore = Chroma.from_documents(
|
|
|
181 |
if self.vectorstore:
|
182 |
self.vectorstore.delete_collection()
|
183 |
|
184 |
+
chromadb.api.client.SharedSystemClient.clear_system_cache()
|
185 |
new_client = chromadb.EphemeralClient()
|
186 |
|
187 |
self.vectorstore = Chroma.from_documents(
|