The most powerful and modular diffusion model GUI, api and backend with a graph/nodes interface. The fastest local inference engine in the world.
Fix controlnet bug.
comfyanonymous5c363a9d8682
diff --git a/comfy/controlnet.py b/comfy/controlnet.pyindex f62dd9c88..490be6bbc 100644--- a/comfy/controlnet.py+++ b/comfy/controlnet.py@@ -143,7 +143,7 @@ class ControlNet(ControlBase):if control_prev is not None:return control_prevelse:- return {}+ return Noneoutput_dtype = x_noisy.dtypeif self.cond_hint is None or x_noisy.shape[2] * 8 != self.cond_hint.shape[2] or x_noisy.shape[3] * 8 != self.cond_hint.shape[3]: