wylum commited on
Commit
6e3cd09
·
verified ·
1 Parent(s): 48182c9

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -6
app.py CHANGED
@@ -232,12 +232,7 @@ def build_qa_chain(collection_name, vector_db, file: str):
232
  """
233
 
234
  #vincent added to handle the tenant problem 20250211
235
- #chromadb.api.client.SharedSystemClient.clear_system_cache()
236
-
237
- vector_db = gr.State()
238
- chain = gr.State()
239
- collection_name = gr.State()
240
-
241
  new_client = chromadb.EphemeralClient()
242
  memory = ConversationBufferMemory(
243
  memory_key="chat_history",
 
232
  """
233
 
234
  #vincent added to handle the tenant problem 20250211
235
+ chromadb.api.client.SharedSystemClient.clear_system_cache()
 
 
 
 
 
236
  new_client = chromadb.EphemeralClient()
237
  memory = ConversationBufferMemory(
238
  memory_key="chat_history",