App error help please!

i have built a covid app and tried to set it up to download the latest data each day, but instead it seems to crash each day and need rebooting!

the message today was:

2021-06-14 10:45:48.909 An update to the [server] config option section was detected. To have these changes be reflected, please restart streamlit.
[manager] Streamlit server consistently failed status checks
[manager] Please fix the errors, push an update to the git repo, or reboot the app.

this is my first big coding project, and my first streamlit app, so i would very much appreciate some help in working out what i have done wrong please!

the app is here:

and the git repo is here

thank you very much