App no longer deploys after change regarding downloading data from internet

Hello there,

The logs that I get when I try to deploy are the following:

[manager] Error checking Streamlit healthz: Get “http://localhost:8501/healthz”: dial tcp 127.0.0.1:8501: connect: connection refused
[manager] Streamlit server consistently failed status checks
[manager] Please fix the errors, push an update to the git repo, or reboot the app.

You can check my app here:
https://share.streamlit.io/gouyoku-py/specs/main

Previously I got my data from a csv file stored in the github repo; however, I needed this file to be hidden so I stored it into a private repo and coded a request, including any needed credentials to the app secrets.

The app works normally on my local machine, so perhaps this has something to do with memory allocation? Yet I don’t understand if I have made any mistakes in the way I coded caching etc…

Any ideas? Thank you very much for your time!