App works fine, then crashes after a few days

Hi guys,

So the app is deployed and works fine, then crashes after a few days. Needs constant rebooting.

Link to the app (currently sitting on a private repo)
https://share.streamlit.io/charlywargnier/streamprophet/main/app.py

Image of issue:

Here’s the last log file, after reboot:

It’s worth noting that once rebooted you have the odd ‘internal server error’ displayed. An app refresh gets rid of the message and the app works perfectly afte that.

Thanks in advance,
Charly