Commit a0690f9d authored by comfyanonymous's avatar comfyanonymous
Browse files

Fix t2i adapter issue.

parent 9906e3ef
...@@ -416,7 +416,7 @@ class T2IAdapter(ControlBase): ...@@ -416,7 +416,7 @@ class T2IAdapter(ControlBase):
if control_prev is not None: if control_prev is not None:
return control_prev return control_prev
else: 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 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: 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