This commit is contained in:
lllyasviel
2024-01-28 07:56:42 -08:00
parent 8158e31d80
commit 3d6d19a893
4 changed files with 29 additions and 16 deletions

View File

@@ -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