Update api/ltx_server.py
Browse files- api/ltx_server.py +2 -2
api/ltx_server.py
CHANGED
|
@@ -768,7 +768,7 @@ class VideoService:
|
|
| 768 |
print(f"[DEBUG] First Pass Dims: Original Pad ({width_padded}x{height_padded}) -> Downscaled ({downscaled_width}x{downscaled_height})")
|
| 769 |
# --- <FIM DA LÓGICA DE CÁLCULO EXATA> ---
|
| 770 |
|
| 771 |
-
first_pass_kwargs =
|
| 772 |
|
| 773 |
first_pass_kwargs.update({
|
| 774 |
"output_type": "latent",
|
|
@@ -805,7 +805,7 @@ class VideoService:
|
|
| 805 |
print(f"[DEBUG] Second Pass Dims: Target ({second_pass_width}x{second_pass_height})")
|
| 806 |
# --- <FIM DA LÓGICA DE CÁLCULO EXATA> ---
|
| 807 |
|
| 808 |
-
second_pass_kwargs =
|
| 809 |
second_pass_kwargs.update({
|
| 810 |
"output_type": "latent",
|
| 811 |
"width": second_pass_width,
|
|
|
|
| 768 |
print(f"[DEBUG] First Pass Dims: Original Pad ({width_padded}x{height_padded}) -> Downscaled ({downscaled_width}x{downscaled_height})")
|
| 769 |
# --- <FIM DA LÓGICA DE CÁLCULO EXATA> ---
|
| 770 |
|
| 771 |
+
first_pass_kwargs = call_kwargs.copy()
|
| 772 |
|
| 773 |
first_pass_kwargs.update({
|
| 774 |
"output_type": "latent",
|
|
|
|
| 805 |
print(f"[DEBUG] Second Pass Dims: Target ({second_pass_width}x{second_pass_height})")
|
| 806 |
# --- <FIM DA LÓGICA DE CÁLCULO EXATA> ---
|
| 807 |
|
| 808 |
+
second_pass_kwargs = call_kwargs.copy()
|
| 809 |
second_pass_kwargs.update({
|
| 810 |
"output_type": "latent",
|
| 811 |
"width": second_pass_width,
|