diff options
author | AUTOMATIC1111 <16777216c@gmail.com> | 2023-07-11 18:16:43 +0000 |
---|---|---|
committer | AUTOMATIC1111 <16777216c@gmail.com> | 2023-07-11 18:16:43 +0000 |
commit | af081211ee93622473ee575de30fed2fd8263c09 (patch) | |
tree | b047d051d31e8332f6a8491c41bbcb4c35ccf692 /modules/sd_models_config.py | |
parent | 7b833291b3ef4690ef158ee3415c2e93948acb2d (diff) | |
download | stable-diffusion-webui-gfx803-af081211ee93622473ee575de30fed2fd8263c09.tar.gz stable-diffusion-webui-gfx803-af081211ee93622473ee575de30fed2fd8263c09.tar.bz2 stable-diffusion-webui-gfx803-af081211ee93622473ee575de30fed2fd8263c09.zip |
getting SD2.1 to run on SDXL repo
Diffstat (limited to 'modules/sd_models_config.py')
-rw-r--r-- | modules/sd_models_config.py | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/modules/sd_models_config.py b/modules/sd_models_config.py index 9bfe1237..96501569 100644 --- a/modules/sd_models_config.py +++ b/modules/sd_models_config.py @@ -6,11 +6,13 @@ from modules import shared, paths, sd_disable_initialization sd_configs_path = shared.sd_configs_path
sd_repo_configs_path = os.path.join(paths.paths['Stable Diffusion'], "configs", "stable-diffusion")
+sd_xl_repo_configs_path = os.path.join(paths.paths['Stable Diffusion XL'], "configs", "inference")
config_default = shared.sd_default_config
config_sd2 = os.path.join(sd_repo_configs_path, "v2-inference.yaml")
config_sd2v = os.path.join(sd_repo_configs_path, "v2-inference-v.yaml")
+config_sd2v = os.path.join(sd_xl_repo_configs_path, "sd_2_1_768.yaml")
config_sd2_inpainting = os.path.join(sd_repo_configs_path, "v2-inpainting-inference.yaml")
config_depth_model = os.path.join(sd_repo_configs_path, "v2-midas-inference.yaml")
config_unclip = os.path.join(sd_repo_configs_path, "v2-1-stable-unclip-l-inference.yaml")
|