Misc
This commit is contained in:
Muhammad Rizqi Nur
2022-11-13 11:11:14 +07:00
parent abc1e79a5d
commit c7be83bf02
3 changed files with 3 additions and 3 deletions

View File

@@ -154,8 +154,7 @@ def load_vae(model, vae_file=None):
if vae_opt not in vae_dict:
vae_dict[vae_opt] = vae_file
vae_list.append(vae_opt)
# shared.opts.data['sd_vae'] = vae_opt
else:
elif loaded_vae_file:
restore_base_vae(model)
loaded_vae_file = vae_file