Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
|
@@ -84,7 +84,7 @@ def user_input(user_question):
|
|
| 84 |
encode_kwargs=encode_kwargs
|
| 85 |
)
|
| 86 |
|
| 87 |
-
new_db = FAISS.load_local("faiss_index", hf)
|
| 88 |
docs = new_db.similarity_search(user_question)
|
| 89 |
|
| 90 |
chain = get_conversational_chain()
|
|
|
|
| 84 |
encode_kwargs=encode_kwargs
|
| 85 |
)
|
| 86 |
|
| 87 |
+
new_db = FAISS.load_local("faiss_index", hf,allow_dangerous_deserialization=True)
|
| 88 |
docs = new_db.similarity_search(user_question)
|
| 89 |
|
| 90 |
chain = get_conversational_chain()
|