Leon-Sander / Local-Multimodal-AI-Chat

GNU General Public License v3.0
124 stars 73 forks source link

SOLUTION -> TypeError: _load_sbert_model() got an unexpected keyword argument 'token' #23

Closed joaquindev23 closed 5 months ago

joaquindev23 commented 5 months ago

Once everything was installed following the repo orders, I ran into the following error when trying to load a pdf file and it was analyzed.

Captura desde 2024-04-18 19-43-50

Once everything was installed following the repo orders, I ran into the following error when trying to load a PDF file and it was analyzed.

The following commands fixed the problem, I don't need to change langchain version.

pip uninstall sentence-transformers
pip install sentence-transformers==2.2.2

Captura desde 2024-04-18 20-02-28 Captura desde 2024-04-18 20-02-42 Captura desde 2024-04-18 20-10-52 Captura desde 2024-04-18 20-28-35 Captura desde 2024-04-18 20-45-48 Captura desde 2024-04-18 20-47-40

Then I had another error that I raised in another issues