Skip to content

Session not initialized Error #207

Description

@sfc-gh-hkalyan

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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Fields

    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions