Update api/ltx_server.py
Browse files- 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(
|
| 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 |
-
|
| 901 |
-
"latents":
|
| 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 |
})
|