mirror of
https://github.com/comfyanonymous/ComfyUI.git
synced 2025-03-15 14:09:36 +00:00
Fix t2i adapter issue.
This commit is contained in:
parent
9906e3efe3
commit
a0690f9df9
@ -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:
|
||||||
|
Loading…
Reference in New Issue
Block a user