运行webui报错KeyError: 'st.session_state has no key "params". Did you forget to initialize it?
thunder95 opened this issue · 2 comments
thunder95 commented
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
SWHL commented
streamilt >= 1.25.0就行
用仓库的最新代码哈
thunder95 commented
试了在main分支和v0.0.9下,streamilt分别试了1.20.0, 1.25.0,1.27.2三个版本都不行