Fabrice-TIERCELIN commited on
Commit
77a9e4d
·
verified ·
1 Parent(s): c04f9da

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
Files changed (1) hide show
  1. app.py +1 -1
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)[:5]
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