Spaces:
Runtime error
Runtime error
start_latent, input_image_np, video_latents, fps, height, width = video_encode(input_video, resolution, no_resize, vae, vae_batch_size=vae_batch, device=gpu)[:6]
Browse files
app.py
CHANGED
|
@@ -795,7 +795,7 @@ def worker_video(input_video, prompts, n_prompt, seed, batch, resolution, total_
|
|
| 795 |
stream.output_queue.push(('progress', (None, '', make_progress_bar_html(0, 'Video processing ...'))))
|
| 796 |
|
| 797 |
# 20250506 pftq: Encode video
|
| 798 |
-
start_latent, input_image_np, video_latents, fps, height, width = video_encode(input_video, resolution, no_resize, vae, vae_batch_size=vae_batch, device=gpu)[:
|
| 799 |
start_latent = start_latent.to(dtype=torch.float32).cpu()
|
| 800 |
video_latents = video_latents.cpu()
|
| 801 |
|
|
|
|
| 795 |
stream.output_queue.push(('progress', (None, '', make_progress_bar_html(0, 'Video processing ...'))))
|
| 796 |
|
| 797 |
# 20250506 pftq: Encode video
|
| 798 |
+
start_latent, input_image_np, video_latents, fps, height, width = video_encode(input_video, resolution, no_resize, vae, vae_batch_size=vae_batch, device=gpu)[:6]
|
| 799 |
start_latent = start_latent.to(dtype=torch.float32).cpu()
|
| 800 |
video_latents = video_latents.cpu()
|
| 801 |
|