Spaces:
Paused
Paused
Update api/ltx/ltx_utils.py
Browse files- api/ltx/ltx_utils.py +8 -7
api/ltx/ltx_utils.py
CHANGED
|
@@ -48,13 +48,14 @@ CACHE_DIR = os.environ.get("HF_HOME")
|
|
| 48 |
repo_path = str(LTX_VIDEO_REPO_DIR.resolve())
|
| 49 |
if repo_path not in sys.path:
|
| 50 |
sys.path.insert(0, repo_path)
|
| 51 |
-
|
| 52 |
-
|
| 53 |
-
|
| 54 |
-
|
| 55 |
-
|
| 56 |
-
|
| 57 |
-
|
|
|
|
| 58 |
|
| 59 |
# ==============================================================================
|
| 60 |
# --- FUNÇÕES DE CONSTRUÇÃO DE MODELO E PIPELINE ---
|
|
|
|
| 48 |
repo_path = str(LTX_VIDEO_REPO_DIR.resolve())
|
| 49 |
if repo_path not in sys.path:
|
| 50 |
sys.path.insert(0, repo_path)
|
| 51 |
+
|
| 52 |
+
from ltx_video.pipelines.pipeline_ltx_video import LTXVideoPipeline
|
| 53 |
+
from ltx_video.models.autoencoders.latent_upsampler import LatentUpsampler
|
| 54 |
+
from ltx_video.models.autoencoders.causal_video_autoencoder import CausalVideoAutoencoder
|
| 55 |
+
from ltx_video.models.transformers.transformer3d import Transformer3DModel
|
| 56 |
+
from ltx_video.models.transformers.symmetric_patchifier import SymmetricPatchifier
|
| 57 |
+
from ltx_video.schedulers.rf import RectifiedFlowScheduler
|
| 58 |
+
import ltx_video.pipelines.crf_compressor as crf_compressor
|
| 59 |
|
| 60 |
# ==============================================================================
|
| 61 |
# --- FUNÇÕES DE CONSTRUÇÃO DE MODELO E PIPELINE ---
|