This commit is contained in:
AUTOMATIC 2023-01-14 20:00:12 +03:00
parent a5bbcd2153
commit f8c5124785
1 changed files with 1 additions and 1 deletions

View File

@ -95,7 +95,7 @@ def resolve_vae(checkpoint_file):
return shared.cmd_opts.vae_path, 'from commandline argument'
vae_near_checkpoint = find_vae_near_checkpoint(checkpoint_file)
if vae_near_checkpoint is not None and (shared.opts.sd_vae_as_default or shared.opts.sd_vae == "auto"):
if vae_near_checkpoint is not None and (shared.opts.sd_vae_as_default or shared.opts.sd_vae == "Automatic"):
return vae_near_checkpoint, 'found near the checkpoint'
if shared.opts.sd_vae == "None":