skip override for same items, handle taesd

This commit is contained in:
Vladimir Mandic
2023-09-07 08:19:37 -04:00
parent a9e1347b85
commit 39e1f91cce
4 changed files with 20 additions and 4 deletions
+2
View File
@@ -111,6 +111,8 @@ def find_vae_near_checkpoint(checkpoint_file):
def resolve_vae(checkpoint_file):
if shared.opts.sd_vae == 'TAESD':
return None, None
if shared.cmd_opts.vae is not None: # 1st
return shared.cmd_opts.vae, 'forced'
if shared.opts.sd_vae == "None": # 2nd