wt002 commited on
Commit
d5ae4cc
·
verified ·
1 Parent(s): 0d7dfbd

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/my_hf_agent_course_projects", embedding_model, allow_dangerous_deserialization=True)
448
 
449
 
450
  # -----------------------------
 
444
  # -----------------------------
445
  # Load FAISS index properly
446
  # -----------------------------
447
+ loaded_store = FAISS.load_local("/home/wendy/my_hf_agent_course_projects/index.faiss", embedding_model, allow_dangerous_deserialization=True)
448
 
449
 
450
  # -----------------------------