fix controlnet ignored in batch #55

This commit is contained in:
lllyasviel
2024-02-06 17:12:57 -08:00
parent fc5c70a28d
commit 70ae2a4bce

View File

@@ -491,6 +491,9 @@ class ControlNetForForgeOfficial(scripts.Script):
def postprocess_batch_list(self, p, pp, *args, **kwargs):
for i, unit in enumerate(self.get_enabled_units(args)):
self.process_unit_after_every_sampling(p, unit, self.current_params[i], pp, *args, **kwargs)
return
def postprocess(self, p, processed, *args):
self.current_params = {}
return