mirror of
https://github.com/AUTOMATIC1111/stable-diffusion-webui.git
synced 2024-11-27 06:40:10 +08:00
bugfix for previous commit
This commit is contained in:
parent
3f887f7f61
commit
ff6a5bcec1
@ -107,7 +107,7 @@ def resolve_vae(checkpoint_file):
|
|||||||
if vae_from_options is not None:
|
if vae_from_options is not None:
|
||||||
return vae_from_options, 'specified in settings'
|
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")
|
print(f"Couldn't find VAE named {shared.opts.sd_vae}; using None instead")
|
||||||
|
|
||||||
return None, None
|
return None, None
|
||||||
|
Loading…
Reference in New Issue
Block a user