mirror of
https://github.com/AUTOMATIC1111/stable-diffusion-webui.git
synced 2026-01-30 04:11:15 -08:00
Change to access sd_model attribute with dot
This commit is contained in:
parent
5159edbf0e
commit
af5d2e8e5f
1 changed files with 2 additions and 2 deletions
|
|
@ -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…
Add table
Add a link
Reference in a new issue