Spaces:
Sleeping
Sleeping
Update autism_chatbot.py
Browse files- autism_chatbot.py +1 -1
autism_chatbot.py
CHANGED
@@ -53,7 +53,7 @@ class AutismResearchBot:
|
|
53 |
model_kwargs={'device': 'cpu'}
|
54 |
)
|
55 |
|
56 |
-
self.db = FAISS.load_local("
|
57 |
|
58 |
# Initialize memory
|
59 |
self.memory = ConversationBufferMemory(
|
|
|
53 |
model_kwargs={'device': 'cpu'}
|
54 |
)
|
55 |
|
56 |
+
self.db = FAISS.load_local("./", self.embeddings, allow_dangerous_deserialization = True)
|
57 |
|
58 |
# Initialize memory
|
59 |
self.memory = ConversationBufferMemory(
|