I am not able to deploy my streamlit mini project, I don't know where I made mistake. Can somebody help me?

If you’re creating a debugging post, please include the following info:

  1. Share the link to the public app (deployed on Community Cloud).
  2. Share the link to your app’s public GitHub repository (including a requirements file).
  3. Share the full text of the error message (not a screenshot).
  4. Share the Streamlit and Python versions.

Public link app: https://lapworth.streamlit.app/

Github: GitHub - surajpoddar13/LapWorth

Message: Oh no.Error running app. If you need help, try the Streamlit docs and forums.
Python 3.12.4
Streamlit, version 1.32.0

Hey there, thanks for sharing all the details and welcome to the community! :blush: The “Oh no. Error running app” message on Streamlit Community Cloud usually means your app hit a runtime error or exceeded resource limits. Since you’re using Python 3.12.4 and Streamlit 1.32.0, both are supported, but your requirements or code may not be compatible with the cloud environment, or you may be missing dependencies in your requirements.txt. Also, if your app uses too much memory or CPU, it can crash with this error. You can check the logs by clicking the “Manage app” button in the lower right of your app page for more details on the error cause.

To debug, make sure your requirements.txt is up to date and includes all necessary packages. If you see “Error installing requirements” or resource limit errors in the logs, try optimizing your app (e.g., use st.cache_data, reduce memory usage, or move large datasets to a database). For more tips, see the resource limits guide and deployment troubleshooting. If you’re still stuck, please share your app logs and a minimum reproducible example of your code so the community can help further!

Sources:

Hi! In order to let others help you in troubleshooting, I think that the error logging can be helpful.

Please, once in the “Oh no” page, click on the “Manage app” button in the bottom right of the page and the entire log session should be visible.

Can you paste the error you see (if any)?