diff options
author | Billy Cao <aliencaocao@gmail.com> | 2022-11-27 04:39:31 +0000 |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-11-27 04:39:31 +0000 |
commit | 349f0461ecd5f2522179e644213e2c65da34fc7c (patch) | |
tree | f71359be2e68f7dc311b0126d0af669a29f92a81 /modules/paths.py | |
parent | adb6cb7619989cbc7a271cc6c2ae27bb936c43d9 (diff) | |
parent | b5050ad2071644f7b4c99660dc66a8a95136102f (diff) | |
download | stable-diffusion-webui-gfx803-349f0461ecd5f2522179e644213e2c65da34fc7c.tar.gz stable-diffusion-webui-gfx803-349f0461ecd5f2522179e644213e2c65da34fc7c.tar.bz2 stable-diffusion-webui-gfx803-349f0461ecd5f2522179e644213e2c65da34fc7c.zip |
Merge branch 'master' into support_any_resolution
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)
|