Open shubham16g opened 6 months ago
vector_store.save_local("faiss_index", allow_dangerous_deserialization=True) solve this use that
set the allow_dangerous_deserialization flag to True, will resolve the issue. let me know if it you're still facing the issue
Getting this issue after adding save_local("faiss_index", allow_dangerous_deserialization=True)
TypeError: save_local() got an unexpected keyword argument 'allow_dangerous_deserialization'
File "C:\Users\Administrator\anaconda3\envs\pythonProject3\lib\site-packages\streamlit\runtime\scriptrunner\script_runner.py", line 542, in _run_script
exec(code, module.dict)
File "C:\Users\Administrator\PycharmProjects\pythonProject3\app.py", line 132, in
vector_store.save_local("faiss_index", allow_dangerous_deserialization=True) solve this use that
vector_store.save_local("faiss_index", allow_dangerous_deserialization=True) solve this use that
in that code where can i insert this line
I am getting this error when asking the question. I am using python 3.9.6.
python3 -m streamlit run app.py