wt002 commited on
Commit
73c986b
·
verified ·
1 Parent(s): b687404

Update agent.py

Browse files
Files changed (1) hide show
  1. agent.py +1 -1
agent.py CHANGED
@@ -442,7 +442,7 @@ except Exception as e:
442
  # Load FAISS index properly
443
  # -----------------------------
444
  # Ensure the directory path is correct and points to the index file directly
445
- index_path = "/home/wendy/my_hf_agent_course_projects/faiss_index/index.faiss"
446
  try:
447
  loaded_store = FAISS.load_local(index_path, embedding_model, allow_dangerous_deserialization=True)
448
  print("FAISS index loaded successfully")
 
442
  # Load FAISS index properly
443
  # -----------------------------
444
  # Ensure the directory path is correct and points to the index file directly
445
+ index_path = "/home/wendy/my_hf_agent_course_projects/faiss_index"
446
  try:
447
  loaded_store = FAISS.load_local(index_path, embedding_model, allow_dangerous_deserialization=True)
448
  print("FAISS index loaded successfully")