Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Session not initialized Error #207

Open
sfc-gh-hkalyan opened this issue Nov 13, 2024 · 0 comments
Open

Session not initialized Error #207

sfc-gh-hkalyan opened this issue Nov 13, 2024 · 0 comments

Comments

@sfc-gh-hkalyan
Copy link

sfc-gh-hkalyan commented Nov 13, 2024

Hi Team -

On a running local streamlit app, once the customer tries to edit the model by downloading it from stage and edit it, they get a session not initialized error
They are on windows and had config toml setup for snowflake cli

They tried this and error went away:

    if "session" not in st.session_state:
        st.session_state["session"] = {}

It was just missing an initialization for st.session_state["session"], once added, they were able to edit the uploaded model locally.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant