wt002 commited on
Commit
afb2106
·
verified ·
1 Parent(s): 818a170

Update agent.py

Browse files
Files changed (1) hide show
  1. agent.py +1 -1
agent.py CHANGED
@@ -444,7 +444,7 @@ except Exception as e:
444
  # -----------------------------
445
  # Load FAISS index properly
446
  # -----------------------------
447
- loaded_store = FAISS.load_local("/home/wendy/Downloads/faiss_index", embedding_model)
448
 
449
 
450
  # -----------------------------
 
444
  # -----------------------------
445
  # Load FAISS index properly
446
  # -----------------------------
447
+ loaded_store = FAISS.load_local("/home/wendy/Downloads/faiss_index", embedding_model, allow_dangerous_deserialization=True)
448
 
449
 
450
  # -----------------------------