Oh no. Error running app. If you need help, try the Streamlit docs and forums

  1. link to the public deployed app = https://predgempa.streamlit.app/
  2. ink to my appโ€™s public GitHub repository = GitHub - nrndita12/predGempa
  3. error message:
[13:10:31] ๐Ÿ”„ Updated app!
2023-12-19 13:10:33.576 `st.cache` is deprecated. Please use one of Streamlit's new caching commands,
`st.cache_data` or `st.cache_resource`.

More information [in our docs](https://docs.streamlit.io/library/advanced-features/caching).
2023-12-19 13:10:33.919 `st.cache` is deprecated. Please use one of Streamlit's new caching commands,
`st.cache_data` or `st.cache_resource`.

More information [in our docs](https://docs.streamlit.io/library/advanced-features/caching).
2023-12-19 13:11:30.968 503 GET /script-health-check (10.12.1.227) 60047.63ms
2023-12-19 13:11:31.296 `st.cache` is deprecated. Please use one of Streamlit's new caching commands,
`st.cache_data` or `st.cache_resource`.

More information [in our docs](https://docs.streamlit.io/library/advanced-features/caching).
[13:11:51] โ—๏ธ The service has encountered an error while checking the health of the Streamlit app: Get "http://localhost:8501/script-health-check": dial tcp 10.12.1.227:8501: connect: connection refused
[13:13:25] โ—๏ธ Streamlit server consistently failed status checks
[13:13:25] โ—๏ธ Please fix the errors, push an update to the git repo, or reboot the app.
  1. Streamlit version is 1.29.0

The error message should be quite clear!?
The syntax of the cache decorator has changed, therefore either change the cache decorators in your code or pin down the streamlit version.

1 Like