Spaces:
Paused
Paused
Update api/ltx/vae_aduc_pipeline.py
Browse files
api/ltx/vae_aduc_pipeline.py
CHANGED
|
@@ -40,8 +40,11 @@ ll.set_verbosity_debug()
|
|
| 40 |
LTX_VIDEO_REPO_DIR = Path("/data/LTX-Video")
|
| 41 |
if str(LTX_VIDEO_REPO_DIR.resolve()) not in sys.path:
|
| 42 |
sys.path.insert(0, str(LTX_VIDEO_REPO_DIR.resolve()))
|
| 43 |
-
|
| 44 |
-
|
|
|
|
|
|
|
|
|
|
| 45 |
|
| 46 |
# ==============================================================================
|
| 47 |
# --- CLASSE DO SERVIÇO VAE ---
|
|
|
|
| 40 |
LTX_VIDEO_REPO_DIR = Path("/data/LTX-Video")
|
| 41 |
if str(LTX_VIDEO_REPO_DIR.resolve()) not in sys.path:
|
| 42 |
sys.path.insert(0, str(LTX_VIDEO_REPO_DIR.resolve()))
|
| 43 |
+
|
| 44 |
+
# Importa as funções que estavam faltando
|
| 45 |
+
from ltx_video.models.autoencoders.vae_encode import vae_encode, vae_decode
|
| 46 |
+
from ltx_video.models.autoencoders.causal_video_autoencoder import CausalVideoAutoencoder
|
| 47 |
+
|
| 48 |
|
| 49 |
# ==============================================================================
|
| 50 |
# --- CLASSE DO SERVIÇO VAE ---
|