PyroSama commited on
Commit
9124b11
1 Parent(s): 9ca22c6

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -0
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():