my app is: https://ntch-recommender.streamlit.app/
repo: Github - streamlit/app.py
I keep getting “Streamlit server consistently failed status checks, Please fix the errors, push an update to the git repo, or reboot the app.”
My application allows users to choose a ML model out of 4 models trained on different date. Upon choosing the model, the app will load the weights and re-construct the model, and then the app could generate recommendations.
The app works fine on the default model and the first user choice model. But when the user choose a third model, the app will crash. I guess I reach the memory limit loading more than 2 models even I use st.cache_resource. Neither setting the max_entries to 1 nor using st.cache_resource.clear() help.
How can I resolve this issue?