eeuuia commited on
Commit
18b89dc
·
verified ·
1 Parent(s): 26ef62b

Update api/ltx/ltx_aduc_pipeline.py

Browse files
Files changed (1) hide show
  1. api/ltx/ltx_aduc_pipeline.py +8 -2
api/ltx/ltx_aduc_pipeline.py CHANGED
@@ -16,8 +16,14 @@ from api.ltx.ltx_aduc_manager import ltx_aduc_manager
16
  # O cliente precisa da definição de LatentConditioningItem para os seus inputs
17
  from api.ltx.vae_aduc_pipeline import LatentConditioningItem
18
 
19
- # Importa o tipo do pipeline para anotações claras nas funções de trabalho
20
- from ltx_video.pipelines.pipeline_ltx_video import LTXVideoPipeline
 
 
 
 
 
 
21
 
22
  # ==============================================================================
23
  # --- FUNÇÕES DE TRABALHO (Jobs a serem executados no Pool LTX) ---
 
16
  # O cliente precisa da definição de LatentConditioningItem para os seus inputs
17
  from api.ltx.vae_aduc_pipeline import LatentConditioningItem
18
 
19
+
20
+ DEPS_DIR = Path("/data")
21
+ LTX_VIDEO_REPO_DIR = DEPS_DIR / "LTX-Video"
22
+ repo_path = str(LTX_VIDEO_REPO_DIR.resolve())
23
+ if str(LTX_VIDEO_REPO_DIR.resolve()) not in sys.path:
24
+ sys.path.insert(0, repo_path)
25
+ print(f"[DEBUG] Repo adicionado ao sys.path: {repo_path}")
26
+ from ltx_video.pipelines.pipeline_ltx_video import LTXVideoPipeline
27
 
28
  # ==============================================================================
29
  # --- FUNÇÕES DE TRABALHO (Jobs a serem executados no Pool LTX) ---