Closed 9of9 closed 1 year ago
Getting the same error after being fully updated on the repo:
KeyError: 'st.session_state has no key "use_LDSR". Did you forget to initialize it? More info: https://docs.streamlit.io/library/advanced-features/session-state#initialization'
Traceback:
File "C:\Users\jeffm.conda\envs\ldm\lib\site-packages\streamlit\runtime\scriptrunner\script_runner.py", line 562, in _run_script
exec(code, module.dict)
File "C:\Users\jeffm\stable-diffusion-webui\scripts\webui_streamlit.py", line 177, in
same error
You need to look at the output of the script you are running (webui.sh) because something in its startup went wrong. In my case I was missing wget
and unzip
so the script couldn't download LDSR.
To solve this, use Cygwin or something equivalent to install missing programs.
What happened?
When attempting txt2image with webui, two exceptions are caught in the console instead of correctly generating the image. They first is a key error within session state, and then a LDSR-related exception in session state. I do have LDSR installed, but I'm not even attempting to use it. This is on a fresh conda environment.
Version
0.0.1 (Default)
What browsers are you seeing the problem on?
Chrome
Where are you running the webui?
Windows
Custom settings
No response
Relevant log output
Code of Conduct