Update api/ltx_server_refactored.py
Browse files
api/ltx_server_refactored.py
CHANGED
|
@@ -460,7 +460,7 @@ class VideoService:
|
|
| 460 |
negative_prompt: str,
|
| 461 |
guidance_scale: float,
|
| 462 |
seed: int,
|
| 463 |
-
num_decode_chunks_per_worker: int =
|
| 464 |
) -> Tuple[str, str]:
|
| 465 |
"""
|
| 466 |
Orquestra o pipeline de Pós-Produção: Upscale, Denoise em Chunks, e Costura final.
|
|
@@ -542,7 +542,7 @@ class VideoService:
|
|
| 542 |
prompt=prompt, negative_prompt=negative_prompt,
|
| 543 |
guidance_scale=guidance_scale, seed=chunk_seed,
|
| 544 |
conditioning_items=conditioning_items
|
| 545 |
-
num_decode_chunks=
|
| 546 |
)
|
| 547 |
pixel_chunks_list.append(pixel_chunk)
|
| 548 |
refined_latent_chunks_list.append(refined_latent_chunk)
|
|
|
|
| 460 |
negative_prompt: str,
|
| 461 |
guidance_scale: float,
|
| 462 |
seed: int,
|
| 463 |
+
num_decode_chunks_per_worker: int = 1
|
| 464 |
) -> Tuple[str, str]:
|
| 465 |
"""
|
| 466 |
Orquestra o pipeline de Pós-Produção: Upscale, Denoise em Chunks, e Costura final.
|
|
|
|
| 542 |
prompt=prompt, negative_prompt=negative_prompt,
|
| 543 |
guidance_scale=guidance_scale, seed=chunk_seed,
|
| 544 |
conditioning_items=conditioning_items
|
| 545 |
+
num_decode_chunks=1
|
| 546 |
)
|
| 547 |
pixel_chunks_list.append(pixel_chunk)
|
| 548 |
refined_latent_chunks_list.append(refined_latent_chunk)
|