aboutsummaryrefslogtreecommitdiff
path: root/modules/paths.py
diff options
context:
space:
mode:
Diffstat (limited to 'modules/paths.py')
-rw-r--r--modules/paths.py1
1 files changed, 1 insertions, 0 deletions
diff --git a/modules/paths.py b/modules/paths.py
index 606f7d66..0519caa0 100644
--- a/modules/paths.py
+++ b/modules/paths.py
@@ -12,6 +12,7 @@ possible_sd_paths = [os.path.join(script_path, 'repositories/stable-diffusion'),
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)
+ break
assert sd_path is not None, "Couldn't find Stable Diffusion in any of: " + str(possible_sd_paths)