From ae72f372be4d1e45027f5f6fa6d5564ae53fdd40 Mon Sep 17 00:00:00 2001 From: psychedelicious <4822129+psychedelicious@users.noreply.github.com> Date: Sat, 15 Jul 2023 13:00:46 +1000 Subject: [PATCH] fix(nodes): do not use hardcoded controlnet model --- invokeai/app/invocations/controlnet_image_processors.py | 6 +----- 1 file changed, 1 insertion(+), 5 deletions(-) diff --git a/invokeai/app/invocations/controlnet_image_processors.py b/invokeai/app/invocations/controlnet_image_processors.py index 06b4d2b2ef..e38417efa1 100644 --- a/invokeai/app/invocations/controlnet_image_processors.py +++ b/invokeai/app/invocations/controlnet_image_processors.py @@ -190,11 +190,7 @@ class ControlNetInvocation(BaseInvocation): return ControlOutput( control=ControlField( image=self.image, - #control_model=self.control_model, - control_model=ControlNetModelField( - model_name="canny", - base_model=BaseModelType.StableDiffusion1, - ), + control_model=self.control_model, control_weight=self.control_weight, begin_step_percent=self.begin_step_percent, end_step_percent=self.end_step_percent,