"vscode:/vscode.git/clone" did not exist on "a84cd0d1ad7a641e56ab899b206f3e40e841b2a3"
Commit a0690f9d authored by comfyanonymous's avatar comfyanonymous
Browse files

Fix t2i adapter issue.

parent 9906e3ef
......@@ -416,7 +416,7 @@ class T2IAdapter(ControlBase):
if control_prev is not None:
return control_prev
else:
return {}
return None
if 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]:
if self.cond_hint is not None:
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment