Eueuiaa commited on
Commit
cc030e3
verified
1 Parent(s): 2036956

Update api/ltx_server.py

Browse files
Files changed (1) hide show
  1. api/ltx_server.py +3 -3
api/ltx_server.py CHANGED
@@ -885,7 +885,7 @@ class VideoService:
885
 
886
  num_latent_frames_part = latents.shape[2]
887
 
888
- log_tensor_info(final_latents, "Latentes input (Pre-P贸s-Second Pass)")
889
 
890
 
891
  vae_temporal_scale = self.pipeline.video_scale_factor # Geralmente 4 ou 8
@@ -897,8 +897,8 @@ class VideoService:
897
  "output_type": "latent",
898
  "width": second_pass_width,
899
  "height": second_pass_height,
900
- #"num_frames": num_pixel_frames_part,
901
- "latents": upsampled_latents, # O tensor upscaled
902
  "guidance_scale": float(guidance_scale),
903
  **second_pass_config
904
  })
 
885
 
886
  num_latent_frames_part = latents.shape[2]
887
 
888
+ log_tensor_info(latents, "Latentes input (Pre-P贸s-Second Pass)")
889
 
890
 
891
  vae_temporal_scale = self.pipeline.video_scale_factor # Geralmente 4 ou 8
 
897
  "output_type": "latent",
898
  "width": second_pass_width,
899
  "height": second_pass_height,
900
+ "num_frames": num_pixel_frames_part,
901
+ "latents": latents, # O tensor upscaled
902
  "guidance_scale": float(guidance_scale),
903
  **second_pass_config
904
  })