Keyerror when loading pickle file

Thanks to streamlit I created a web-page creating a graph.
So, my page would draw a graph based from the data that I have uploaded.

The problem is that I used to load a pickle file(which is pretty big, 1.05GB in total) and worked fine until few days ago.
I randomly found out that an error occurred and could not load the pickle file.

The code and loading of the pickle file works fine locally, so I thought the problem would either be from streamlit or github lfs.

I have tried to reduce the size of the pickle file to total of (400MB).
But still did not work.

I tried loading a different pickle file, which loaded just fine.

This is the screen that I have got.