Carlos s commited on
Commit
7d68d8a
·
verified ·
1 Parent(s): 5c72c77

Update api/ltx_server.py

Browse files
Files changed (1) hide show
  1. api/ltx_server.py +12 -6
api/ltx_server.py CHANGED
@@ -627,14 +627,20 @@ class VideoService:
627
  print("[DEBUG] Executando SECOND PASS (latent_upsampler)...")
628
  with ctx:
629
  result = self.latent_upsampler(
630
- **second_pass_kwargs,
 
 
 
 
 
 
631
  latents=latents_first,
632
  denoise_strength=0.4,
633
- #num_inference_steps=10,
634
- #decode_timestep=0.05,
635
- #image_cond_noise_scale=0.025,
636
- #generator=torch.Generator().manual_seed(0),
637
- #output_type="latent",
638
  )
639
 
640
  #with ctx:
 
627
  print("[DEBUG] Executando SECOND PASS (latent_upsampler)...")
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
 
646
  #with ctx: