Skip to content

运行webui报错KeyError: 'st.session_state has no key "params". Did you forget to initialize it?  #17

@thunder95

Description

@thunder95

Past Issues Searched

  • I have searched open and closed issues to make sure that the bug has not yet been reported

Issue is a Bug Report

  • This is a bug report and not a feature request, nor asking for support

Describe the bug

KeyError: 'st.session_state has no key "params". Did you forget to initialize it? More info: https://docs.streamlit.io/library/advanced-features/session-state#initialization'

请问大佬用的什么版本streamlit,我换了几个都不行

Expected behavior

运行成功

Screenshots

No response

Environment

- OS: ubuntu
- Browser: chrome
- Browser Version: chrome

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions