Carlos s
commited on
Update api/ltx_server.py
Browse files- 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=
|
| 632 |
prompt=prompt,
|
| 633 |
negative_prompt=negative_prompt,
|
| 634 |
-
width=
|
| 635 |
-
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=
|
| 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 |
|