Streamlit app stuck in "please wait" when deployed in Google App Engine

Sharing @sprasai’s replies from this thread for future users who might be encountering this issues: