1
mirror of https://github.com/comfyanonymous/ComfyUI.git synced 2025-08-02 23:14:49 +08:00

Allow image_only_indicator to be None.

This commit is contained in:
comfyanonymous
2024-02-29 13:09:43 -05:00
parent b3e97fc714
commit cb7c3a2921
3 changed files with 13 additions and 13 deletions

View File

@@ -372,7 +372,6 @@ class SVD_img2vid(BaseModel):
if "time_conditioning" in kwargs:
out["time_context"] = comfy.conds.CONDCrossAttn(kwargs["time_conditioning"])
out['image_only_indicator'] = comfy.conds.CONDConstant(torch.zeros((1,), device=device))
out['num_video_frames'] = comfy.conds.CONDConstant(noise.shape[0])
return out