Problem while building an ArxivChat bot

Hey y’all,
So i am building a chatbot based on the Mistral (mistralai/Mistral-7B-v0.1) model that basically takes the paper_id of an arxiv paper which then loads it onto langchain so the user can chat with the contents of the paper.
The gradio space looks like this, Chat With Arxiv - a Hugging Face Space by ubermenchh).

I am getting this error message,


On the first run, it ran without any error(it was slow nevertheless, using cpu may have been the reason), but after that each run is giving me the same error.
I though there was a problem with langchain server, but i have another Chat with PDF chatbot that is still working without any problem.

Here is the colab notebook, link