Spaces:
Runtime error
Runtime error
Update processing.py
Browse files- processing.py +1 -1
processing.py
CHANGED
@@ -35,7 +35,7 @@ for key, file_path in knowledge_files.items():
|
|
35 |
text_faiss_index = FAISS.from_texts(documents, embedding_model)
|
36 |
|
37 |
# Load pre-existing FAISS indexes
|
38 |
-
attachments_faiss_index = FAISS.load_local("knowledge/
|
39 |
personalities_faiss_index = FAISS.load_local("knowledge/faiss_index_Personalities_db", embedding_model, allow_dangerous_deserialization=True)
|
40 |
|
41 |
# Initialize LLM
|
|
|
35 |
text_faiss_index = FAISS.from_texts(documents, embedding_model)
|
36 |
|
37 |
# Load pre-existing FAISS indexes
|
38 |
+
attachments_faiss_index = FAISS.load_local("knowledge/faiss_index_Attachments_db", embedding_model, allow_dangerous_deserialization=True)
|
39 |
personalities_faiss_index = FAISS.load_local("knowledge/faiss_index_Personalities_db", embedding_model, allow_dangerous_deserialization=True)
|
40 |
|
41 |
# Initialize LLM
|