Spaces:
Running
on
Zero
Running
on
Zero
Update app.py
Browse files
app.py
CHANGED
@@ -261,6 +261,8 @@ from langchain_core.output_parsers import StrOutputParser
|
|
261 |
from langchain_community.vectorstores import Chroma
|
262 |
from langchain_huggingface import HuggingFaceEmbeddings
|
263 |
from langchain_core.runnables import RunnablePassthrough
|
|
|
|
|
264 |
os.environ['MISTRAL_API_KEY'] = 'XuyOObDE7trMbpAeI7OXYr3dnmoWy3L0'
|
265 |
|
266 |
class VectorData():
|
|
|
261 |
from langchain_community.vectorstores import Chroma
|
262 |
from langchain_huggingface import HuggingFaceEmbeddings
|
263 |
from langchain_core.runnables import RunnablePassthrough
|
264 |
+
import chromadb.api
|
265 |
+
chromadb.api.client.SharedSystemClient.clear_system_cache()
|
266 |
os.environ['MISTRAL_API_KEY'] = 'XuyOObDE7trMbpAeI7OXYr3dnmoWy3L0'
|
267 |
|
268 |
class VectorData():
|