Closed yanirs closed 1 year ago
Fixes #14.
I only noticed that there's already a PR for this (#12) after fixing it locally, but I figured it's worth pushing anyway since this solution only catches ImportErrors and isolates the try-except to the import section of the file.
ImportError
Hey, thanks for the PR! I decided to implement Streamlit's built-in st.session_state now (which is released since a year), so this is obsolete.
st.session_state
Fixes #14.
I only noticed that there's already a PR for this (#12) after fixing it locally, but I figured it's worth pushing anyway since this solution only catches
ImportError
s and isolates the try-except to the import section of the file.