aboutsummaryrefslogtreecommitdiff
path: root/modules/paths.py
diff options
context:
space:
mode:
authorAUTOMATIC <16777216c@gmail.com>2022-09-11 00:26:24 +0300
committerAUTOMATIC <16777216c@gmail.com>2022-09-11 00:26:24 +0300
commit77f8a72fa8f71486c35882de1f0bb9a7578f0cbb (patch)
treea0432357e0e46904b7dfc39a4a14bccc0cddd0d9 /modules/paths.py
parentd41568de29d9bfbecc9b06eb2990cbf1d7edd62b (diff)
fix a bug with error message
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 49735ea1..130aecb9 100644
--- a/modules/paths.py
+++ b/modules/paths.py
@@ -12,7 +12,7 @@ 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)
-assert sd_path is not None, "Couldn't find Stable Diffusion in any of: " + possible_sd_paths
+assert sd_path is not None, "Couldn't find Stable Diffusion in any of: " + str(possible_sd_paths)
path_dirs = [
(sd_path, 'ldm', 'Stable Diffusion'),