diff options
author | AUTOMATIC1111 <16777216c@gmail.com> | 2023-08-07 08:16:20 +0300 |
---|---|---|
committer | AUTOMATIC1111 <16777216c@gmail.com> | 2023-08-07 08:16:20 +0300 |
commit | 6e7828e1d271c644840047c3db60e669a232402a (patch) | |
tree | d4bf3fc62c78e582916b740d51010be562df3b5b | |
parent | c96e4750d895a47290dc7f96e030197069c75fa4 (diff) |
apply unet overrides after switching model
-rw-r--r-- | modules/sd_models.py | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/modules/sd_models.py b/modules/sd_models.py index d65735e3..53c1df54 100644 --- a/modules/sd_models.py +++ b/modules/sd_models.py @@ -699,6 +699,7 @@ def reload_model_weights(sd_model=None, info=None): print(f"Weights loaded in {timer.summary()}.")
model_data.set_sd_model(sd_model)
+ sd_unet.apply_unet()
return sd_model
|