mirror of
https://github.com/openvinotoolkit/stable-diffusion-webui.git
synced 2024-12-15 07:03:06 +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
|
pass
|
||||||
|
|
||||||
if v is not None:
|
if v is not None:
|
||||||
setattr(v, "base_vae", sd_vae.base_vae)
|
v.base_vae = sd_vae.base_vae
|
||||||
setattr(v, "loaded_vae_file", sd_vae.loaded_vae_file)
|
v.loaded_vae_file = sd_vae.loaded_vae_file
|
||||||
self.loaded_sd_models.insert(0, v)
|
self.loaded_sd_models.insert(0, v)
|
||||||
|
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user