Spaces:
Runtime error
Runtime error
Update t2v_enhanced/model/video_ldm.py
Browse files
t2v_enhanced/model/video_ldm.py
CHANGED
@@ -242,7 +242,7 @@ class VideoLDM(pl.LightningModule):
|
|
242 |
else:
|
243 |
latents = None
|
244 |
if idx == 0:
|
245 |
-
sample = cfg["video"]
|
246 |
else:
|
247 |
if inference_params.conditioning_type == "fixed":
|
248 |
context = chunks_conditional[0][:self.unet_params.num_frame_conditioning]
|
|
|
242 |
else:
|
243 |
latents = None
|
244 |
if idx == 0:
|
245 |
+
sample = cfg["video"].to(self.device)
|
246 |
else:
|
247 |
if inference_params.conditioning_type == "fixed":
|
248 |
context = chunks_conditional[0][:self.unet_params.num_frame_conditioning]
|