From 77f8a72fa8f71486c35882de1f0bb9a7578f0cbb Mon Sep 17 00:00:00 2001 From: AUTOMATIC <16777216c@gmail.com> Date: Sun, 11 Sep 2022 00:26:24 +0300 Subject: [PATCH] fix a bug with error message --- modules/paths.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/modules/paths.py b/modules/paths.py index 49735ea1c..130aecb91 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'),