Carlos s commited on
Commit
18fe0fd
·
verified ·
1 Parent(s): 7d68d8a

Update api/ltx_server.py

Browse files
Files changed (1) hide show
  1. api/ltx_server.py +4 -4
api/ltx_server.py CHANGED
@@ -628,18 +628,18 @@ class VideoService:
628
  with ctx:
629
  result = self.latent_upsampler(
630
  #**second_pass_kwargs,
631
- conditions=[condition1],
632
  prompt=prompt,
633
  negative_prompt=negative_prompt,
634
- width=upscaled_width,
635
- height=upscaled_height,
636
  num_frames=num_frames,
637
  latents=latents_first,
638
  denoise_strength=0.4,
639
  num_inference_steps=10,
640
  decode_timestep=0.05,
641
  image_cond_noise_scale=0.025,
642
- generator=torch.Generator().manual_seed(0),
643
  output_type="latent",
644
  )
645
 
 
628
  with ctx:
629
  result = self.latent_upsampler(
630
  #**second_pass_kwargs,
631
+ conditions=conditioning_items
632
  prompt=prompt,
633
  negative_prompt=negative_prompt,
634
+ width=width_padded,
635
+ height=height_padded,
636
  num_frames=num_frames,
637
  latents=latents_first,
638
  denoise_strength=0.4,
639
  num_inference_steps=10,
640
  decode_timestep=0.05,
641
  image_cond_noise_scale=0.025,
642
+ generator=generator
643
  output_type="latent",
644
  )
645