bugfix for previous commit

This commit is contained in:
AUTOMATIC 2023-01-16 01:28:20 +03:00
parent 3f887f7f61
commit ff6a5bcec1

View File

@ -107,7 +107,7 @@ def resolve_vae(checkpoint_file):
if vae_from_options is not None:
return vae_from_options, 'specified in settings'
if is_automatic:
if not is_automatic:
print(f"Couldn't find VAE named {shared.opts.sd_vae}; using None instead")
return None, None