I’m using Streamlit Space SDK.
I found stability after making two changes. First was upgrading to Streamlit 1.26. Second was removing all @st.cache_data decorators. Probably one or the other changes resolved the issue but I’m not sure which. An unproven theory is that st.cache_data caused memory exhaustion. It’s not clear whether this was the issue or whether it should be an issue at small scale.
What I think is clearly an HF issue is lack of detail in error reporting. It’s like the user’s who say “didn’t work” – not helpful without context.
Is there a way to monitor resource usage in Spaces?