Commit 77f8a72f authored by AUTOMATIC's avatar AUTOMATIC

fix a bug with error message

parent d41568de
......@@ -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'),
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment