rajat5ranjan commited on
Commit
4698c74
·
verified ·
1 Parent(s): d9c7a9a

Update stock_vector_db.py

Browse files
Files changed (1) hide show
  1. stock_vector_db.py +2 -2
stock_vector_db.py CHANGED
@@ -42,8 +42,8 @@ class HFVectorDB:
42
  return
43
 
44
  # Add more detailed logging before the load attempt
45
- st.write(f"Attempting to load FAISS index from: {self.local_index_dir}")
46
- st.write(f"Contents of local_index_dir: {os.listdir(self.local_index_dir)}")
47
 
48
 
49
  self.index = FAISS.load_local(self.local_index_dir, self.embedding_model,allow_dangerous_deserialization=True)
 
42
  return
43
 
44
  # Add more detailed logging before the load attempt
45
+ # st.write(f"Attempting to load FAISS index from: {self.local_index_dir}")
46
+ # st.write(f"Contents of local_index_dir: {os.listdir(self.local_index_dir)}")
47
 
48
 
49
  self.index = FAISS.load_local(self.local_index_dir, self.embedding_model,allow_dangerous_deserialization=True)