Carlos s
commited on
Update api/ltx_server.py
Browse files- 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 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 631 |
latents=latents_first,
|
| 632 |
denoise_strength=0.4,
|
| 633 |
-
|
| 634 |
-
|
| 635 |
-
|
| 636 |
-
|
| 637 |
-
|
| 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:
|