mirror of
https://github.com/lllyasviel/stable-diffusion-webui-forge.git
synced 2026-02-02 06:19:47 +00:00
i
This commit is contained in:
@@ -18,7 +18,7 @@ class ControlLLLitePatcher(ControlModelPatcher):
|
||||
self.state_dict = state_dict
|
||||
return
|
||||
|
||||
def process_before_every_sampling(self, process, cond, *args, **kwargs):
|
||||
def process_before_every_sampling(self, process, cond, mask, *args, **kwargs):
|
||||
unet = process.sd_model.forge_objects.unet
|
||||
|
||||
unet = opLLLiteLoader(
|
||||
|
||||
@@ -144,7 +144,7 @@ class IPAdapterPatcher(ControlModelPatcher):
|
||||
self.weight_v2 = False
|
||||
return
|
||||
|
||||
def process_before_every_sampling(self, process, cond, *args, **kwargs):
|
||||
def process_before_every_sampling(self, process, cond, mask, *args, **kwargs):
|
||||
unet = process.sd_model.forge_objects.unet
|
||||
|
||||
unet = opIPAdapterApply(
|
||||
|
||||
@@ -26,7 +26,7 @@ class ControlModelPatcher:
|
||||
def process_after_running_preprocessors(self, process, params, *args, **kwargs):
|
||||
return
|
||||
|
||||
def process_before_every_sampling(self, process, cond, *args, **kwargs):
|
||||
def process_before_every_sampling(self, process, cond, mask, *args, **kwargs):
|
||||
return
|
||||
|
||||
def process_after_every_sampling(self, process, params, *args, **kwargs):
|
||||
@@ -142,7 +142,7 @@ class ControlNetPatcher(ControlModelPatcher):
|
||||
def __init__(self, model_patcher):
|
||||
super().__init__(model_patcher)
|
||||
|
||||
def process_before_every_sampling(self, process, cond, *args, **kwargs):
|
||||
def process_before_every_sampling(self, process, cond, mask, *args, **kwargs):
|
||||
unet = process.sd_model.forge_objects.unet
|
||||
|
||||
unet = apply_controlnet_advanced(
|
||||
|
||||
Reference in New Issue
Block a user