fix a bug with error message
This commit is contained in:
parent
d41568de29
commit
77f8a72fa8
1 changed files with 1 additions and 1 deletions
|
@ -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'),
|
||||
|
|
Loading…
Reference in a new issue