I am deploying my first streamlit app on the Community cloud and am constantly encountering errors. My first obstacle was that the requirements were not read in, but I could solve that problem. The app now loads all required libraries, which is great. However, I have another problem which I am stuck at for a month now.
When I want to run my app the following error pops us directly after deployment.
After a few experiments I assume that it could be because of the size of the used machine learning model, which is a tiny bit larger than 1GB. What is irritating me is that the error message indicates that it runs locally. At least that’s what I attribute the “system memory” part in the error message to.
Help would be much appreciated as I already tried a lot to troubleshoot the app.
Are you running your app locally or is it deployed?
If your app is deployed:
a. Is it deployed on Community Cloud or another hosting platform? → Community Cloud
b. Share the link to the public deployed app. → https://lid-app.streamlit.app/
Share the link to your app’s public GitHub repository → GitHub - Wolftess/LID: A language identification systems working for over 400 languages, including several German dialects like Tyrolean, Swabian and Low Saxon.
Share the full text of the error message (not a screenshot). → see above
Share the Streamlit and Python versions. → latest version streamlit, python_version = “3.10.12”
Thanks a lot!