diff options
author | AUTOMATIC <16777216c@gmail.com> | 2022-11-26 13:10:46 +0000 |
---|---|---|
committer | AUTOMATIC <16777216c@gmail.com> | 2022-11-26 13:10:46 +0000 |
commit | ce6911158b5b2f9cf79b405a1f368f875492044d (patch) | |
tree | 57f3ccb3d0747aaf5daf992d4c7450847f58b7ba /modules/paths.py | |
parent | 828438b4a190759807f9054932cae3a8b880ddf1 (diff) | |
download | stable-diffusion-webui-gfx803-ce6911158b5b2f9cf79b405a1f368f875492044d.tar.gz stable-diffusion-webui-gfx803-ce6911158b5b2f9cf79b405a1f368f875492044d.tar.bz2 stable-diffusion-webui-gfx803-ce6911158b5b2f9cf79b405a1f368f875492044d.zip |
Add support Stable Diffusion 2.0
Diffstat (limited to 'modules/paths.py')
-rw-r--r-- | modules/paths.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/modules/paths.py b/modules/paths.py index 1e7a2fbc..4dd03a35 100644 --- a/modules/paths.py +++ b/modules/paths.py @@ -9,7 +9,7 @@ sys.path.insert(0, script_path) # search for directory of stable diffusion in following places
sd_path = None
-possible_sd_paths = [os.path.join(script_path, 'repositories/stable-diffusion'), '.', os.path.dirname(script_path)]
+possible_sd_paths = [os.path.join(script_path, 'repositories/stable-diffusion-stability-ai'), '.', os.path.dirname(script_path)]
for possible_sd_path in possible_sd_paths:
if os.path.exists(os.path.join(possible_sd_path, 'ldm/models/diffusion/ddpm.py')):
sd_path = os.path.abspath(possible_sd_path)
|