mirror of
https://github.com/lllyasviel/stable-diffusion-webui-forge.git
synced 2026-02-08 00:49:56 +00:00
fix layerdiffuse
This commit is contained in:
@@ -191,5 +191,6 @@ class UnetPatcher(ModelPatcher):
|
||||
for patch_type, weight_list in v.items():
|
||||
patch_flat[model_key] = (patch_type, weight_list)
|
||||
|
||||
self.lora_loader.clear_patches()
|
||||
self.lora_loader.add_patches(patches=patch_flat, strength_patch=float(strength), strength_model=1.0)
|
||||
return
|
||||
|
||||
Reference in New Issue
Block a user