Streamlit deploy using GitHub_No Error_But Does Not Work

Hi, my streamlit app works fine locally. I created a GitHub rep and deployed Streamlit app. There are no errors and I can see the title of my app showing, but then it disappears and gives: " Oh no.
Error running app. If you need help, try the Streamlit docs and forums."
There are not errors in the manage app just:

[17:32:12] โ—๏ธ Streamlit server consistently failed status checks
[17:32:12] โ—๏ธ Please fix the errors, push an update to the git repo, or reboot the app.

the size of the rep is 10.2 MB

The link does not work. Besides, it would be useless anyway, because a non-functioning app does not give us any further information and we cannot see the logs either.
Please share the link to your public github repo.

I cannot post the rep for data restriction purposes. I checked the memory usage though:
Is it passing the limit provided by Streamlit?

There is a 1GB resource limit for Streamlit Cloud. If the profile is correct, there is too much resource consumption and it wonโ€™t run on Streamlit Cloud.

Thanks! yes I think this was the issue. I modified the code a little bit and now it is fine.