From e25faa902db3f5377b09b1e17b6e2539c2a31769 Mon Sep 17 00:00:00 2001 From: lllyasviel Date: Sat, 27 Jan 2024 23:39:08 -0800 Subject: [PATCH] Update patch_basic.py --- modules_forge/patch_basic.py | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/modules_forge/patch_basic.py b/modules_forge/patch_basic.py index 3f70f408..de2a6102 100644 --- a/modules_forge/patch_basic.py +++ b/modules_forge/patch_basic.py @@ -69,6 +69,13 @@ def patched_control_merge(self, control_input, control_output, control_prev, out x = x.to(output_dtype) out[key].append(x) + + if self.positive_advanced_weighting is not None or self.negative_advanced_weighting: + # TODO: Implement here + cond_or_uncond = self.current_cond_or_uncond + a = 0 + pass + if control_prev is not None: for x in ['input', 'middle', 'output']: o = out[x]