Start is now 0.0 and end is now 1.0 for the timestep ranges.

This commit is contained in:
comfyanonymous
2023-07-24 18:29:00 -04:00
parent 7ff14b62f8
commit 5f75d784a1
2 changed files with 14 additions and 9 deletions

View File

@@ -713,7 +713,6 @@ class ControlBase:
out = []
if self.previous_controlnet is not None:
out += self.previous_controlnet.get_models()
out.append(self.control_model)
return out
def copy_to(self, c):
@@ -791,6 +790,12 @@ class ControlNet(ControlBase):
self.copy_to(c)
return c
def get_models(self):
out = super().get_models()
out.append(self.control_model)
return out
def load_controlnet(ckpt_path, model=None):
controlnet_data = utils.load_torch_file(ckpt_path, safe_load=True)