mirror of
https://github.com/lllyasviel/stable-diffusion-webui-forge.git
synced 2026-04-24 08:19:13 +00:00
i
This commit is contained in:
@@ -57,3 +57,14 @@ def apply_controlnet_advanced(
|
||||
m = unet.clone()
|
||||
m.add_patched_controlnet(cnet)
|
||||
return m
|
||||
|
||||
|
||||
def compute_controlnet_weighting(
|
||||
control,
|
||||
positive_advanced_weighting,
|
||||
negative_advanced_weighting,
|
||||
advanced_frame_weighting,
|
||||
advanced_sigma_weighting,
|
||||
transformer_options
|
||||
):
|
||||
return control
|
||||
|
||||
Reference in New Issue
Block a user