mirror of
https://github.com/openvinotoolkit/stable-diffusion-webui.git
synced 2024-12-14 22:53:25 +03:00
Change to access sd_model attribute with dot
This commit is contained in:
parent
5159edbf0e
commit
af5d2e8e5f
@ -498,8 +498,8 @@ class SdModelData:
|
||||
pass
|
||||
|
||||
if v is not None:
|
||||
setattr(v, "base_vae", sd_vae.base_vae)
|
||||
setattr(v, "loaded_vae_file", sd_vae.loaded_vae_file)
|
||||
v.base_vae = sd_vae.base_vae
|
||||
v.loaded_vae_file = sd_vae.loaded_vae_file
|
||||
self.loaded_sd_models.insert(0, v)
|
||||
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user