App stuck on "Please wait..." / "App is in the oven"

My app is stuck on “Please wait…” / “App is in the oven”

App link: https://share.streamlit.io/gdmarmerola/dog-breeds-app/app/app_portuguese.py

Strangely, it is actually almost a duplicate (just changing language) from the following app, which is working fine:

https://share.streamlit.io/gdmarmerola/dog-breeds-app/app/app.py

Before this issue (of app being stuck) the app crashed due to a connection issue. I rebooted the app and it didn’t work, then I tried deleting the app and creating it from scratch again (and now stuck on “app is in the oven”). The app was working normally during two days and was receiving a fair amount of requests (10-20 an hour).

Link to repo: https://github.com/gdmarmerola/dog-breeds-app

Can you assist? Thank you very much!

I managed to work around the problem by copying the code into a different script app_portuguese_copy.py.

https://share.streamlit.io/gdmarmerola/dog-breeds-app/app/app_portuguese_copy.py

The app works fine! However, why the first script doesn’t work is still a mystery