Error while deploying on Google Cloud

I was trying to deploy my web app through GCP. I am getting the following error:

AttributeError: 'list' object has no attribute 'seek'. You can only torch.load from a file that is seekable. Please pre-load the data into a buffer like io.BytesIO and try t o load from it instead.

I am using the starter pack mentioned in the ‘Production’ part at
Any idea on how to solve this?