Spaces:
Sleeping
Sleeping
Update stock_vector_db.py
Browse files- 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)
|