Spaces:
Paused
Paused
Update api/ltx/ltx_aduc_pipeline.py
Browse files
api/ltx/ltx_aduc_pipeline.py
CHANGED
|
@@ -12,6 +12,8 @@ from dataclasses import dataclass
|
|
| 12 |
from pathlib import Path
|
| 13 |
import sys
|
| 14 |
|
|
|
|
|
|
|
| 15 |
# O cliente importa o MANAGER para submeter todos os trabalhos.
|
| 16 |
from api.ltx.ltx_aduc_manager import ltx_aduc_manager
|
| 17 |
|
|
@@ -25,7 +27,7 @@ add_deps_to_path()
|
|
| 25 |
|
| 26 |
from ltx_video.pipelines.pipeline_ltx_video import LTXVideoPipeline
|
| 27 |
from ltx_video.models.autoencoders.vae_encode import vae_encode, vae_decode
|
| 28 |
-
|
| 29 |
|
| 30 |
# ==============================================================================
|
| 31 |
# --- DEFINIÇÕES DE ESTRUTURA ---
|
|
|
|
| 12 |
from pathlib import Path
|
| 13 |
import sys
|
| 14 |
|
| 15 |
+
from api.ltx.ltx_utils import load_image_to_tensor_with_resize_and_crop # Importa o helper de ltx_utils
|
| 16 |
+
|
| 17 |
# O cliente importa o MANAGER para submeter todos os trabalhos.
|
| 18 |
from api.ltx.ltx_aduc_manager import ltx_aduc_manager
|
| 19 |
|
|
|
|
| 27 |
|
| 28 |
from ltx_video.pipelines.pipeline_ltx_video import LTXVideoPipeline
|
| 29 |
from ltx_video.models.autoencoders.vae_encode import vae_encode, vae_decode
|
| 30 |
+
|
| 31 |
|
| 32 |
# ==============================================================================
|
| 33 |
# --- DEFINIÇÕES DE ESTRUTURA ---
|