mirror of
https://github.com/sd-webui/stable-diffusion-webui.git
synced 2024-12-14 23:02:00 +03:00
Merge pull request #881 from TinyBeeman/streamdev
Fixed the user config path in webui_streamlit.py
This commit is contained in:
commit
2be3c2ad37
@ -61,8 +61,8 @@ except:
|
||||
warnings.filterwarnings("ignore", category=DeprecationWarning)
|
||||
|
||||
defaults = OmegaConf.load("configs/webui/webui_streamlit.yaml")
|
||||
if (os.path.exists("userconfig_streamlit.yaml")):
|
||||
user_defaults = OmegaConf.load("userconfig_streamlit.yaml");
|
||||
if (os.path.exists("configs/webui/userconfig_streamlit.yaml")):
|
||||
user_defaults = OmegaConf.load("configs/webui/userconfig_streamlit.yaml");
|
||||
defaults = OmegaConf.merge(defaults, user_defaults)
|
||||
|
||||
# this is a fix for Windows users. Without it, javascript files will be served with text/html content-type and the bowser will not show any UI
|
||||
|
Loading…
Reference in New Issue
Block a user