aboutsummaryrefslogtreecommitdiff
path: root/modules/paths.py
diff options
context:
space:
mode:
authorBilly Cao <aliencaocao@gmail.com>2022-11-27 12:39:31 +0800
committerGitHub <noreply@github.com>2022-11-27 12:39:31 +0800
commit349f0461ecd5f2522179e644213e2c65da34fc7c (patch)
treef71359be2e68f7dc311b0126d0af669a29f92a81 /modules/paths.py
parentadb6cb7619989cbc7a271cc6c2ae27bb936c43d9 (diff)
parentb5050ad2071644f7b4c99660dc66a8a95136102f (diff)
Merge branch 'master' into support_any_resolution
Diffstat (limited to 'modules/paths.py')
-rw-r--r--modules/paths.py2
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)