aboutsummaryrefslogtreecommitdiff
path: root/modules/sd_models_config.py
diff options
context:
space:
mode:
authorAUTOMATIC1111 <16777216c@gmail.com>2023-07-11 21:16:43 +0300
committerAUTOMATIC1111 <16777216c@gmail.com>2023-07-11 21:16:43 +0300
commitaf081211ee93622473ee575de30fed2fd8263c09 (patch)
treeb047d051d31e8332f6a8491c41bbcb4c35ccf692 /modules/sd_models_config.py
parent7b833291b3ef4690ef158ee3415c2e93948acb2d (diff)
getting SD2.1 to run on SDXL repo
Diffstat (limited to 'modules/sd_models_config.py')
-rw-r--r--modules/sd_models_config.py2
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")