mirror of
https://github.com/comfyanonymous/ComfyUI.git
synced 2025-04-12 02:14:19 +00:00
Remove useless code.
This commit is contained in:
parent
832fc02330
commit
a3100c8452
@ -1000,7 +1000,6 @@ class WAN21(BaseModel):
|
||||
device = kwargs["device"]
|
||||
|
||||
if image is None:
|
||||
image = torch.zeros_like(noise)
|
||||
shape_image = list(noise.shape)
|
||||
shape_image[1] = extra_channels
|
||||
image = torch.zeros(shape_image, dtype=noise.dtype, layout=noise.layout, device=noise.device)
|
||||
|
Loading…
Reference in New Issue
Block a user