mirror of
https://git.datalinker.icu/kijai/ComfyUI-CogVideoXWrapper.git
synced 2025-12-16 00:14:25 +08:00
fix Fun inpaint vid2vid
This commit is contained in:
parent
c9c9b50e40
commit
ce1c23811e
@ -823,6 +823,7 @@ class CogVideoXPipeline(DiffusionPipeline, CogVideoXLoraLoaderMixin):
|
|||||||
else:
|
else:
|
||||||
fun_inpaint_masked_video_latents = fun_masked_video_latents
|
fun_inpaint_masked_video_latents = fun_masked_video_latents
|
||||||
|
|
||||||
|
fun_inpaint_latents = torch.cat([fun_inpaint_mask, fun_inpaint_masked_video_latents], dim=2).to(latents.dtype)
|
||||||
latent_model_input = torch.cat([latent_model_input, fun_inpaint_latents], dim=2)
|
latent_model_input = torch.cat([latent_model_input, fun_inpaint_latents], dim=2)
|
||||||
|
|
||||||
# broadcast to batch dimension in a way that's compatible with ONNX/Core ML
|
# broadcast to batch dimension in a way that's compatible with ONNX/Core ML
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user