Update api/ltx_server.py
Browse files- api/ltx_server.py +3 -1
api/ltx_server.py
CHANGED
|
@@ -223,7 +223,9 @@ def add_deps_to_path():
|
|
| 223 |
add_deps_to_path()
|
| 224 |
|
| 225 |
# --- 3. IMPORTAÇÕES ESPECÍFICAS DO MODELO ---
|
| 226 |
-
|
|
|
|
|
|
|
| 227 |
from ltx_video.pipelines.pipeline_ltx_video import ConditioningItem, LTXMultiScalePipeline
|
| 228 |
from ltx_video.utils.skip_layer_strategy import SkipLayerStrategy
|
| 229 |
from ltx_video.models.autoencoders.vae_encode import un_normalize_latents, normalize_latents
|
|
|
|
| 223 |
add_deps_to_path()
|
| 224 |
|
| 225 |
# --- 3. IMPORTAÇÕES ESPECÍFICAS DO MODELO ---
|
| 226 |
+
global vae_encode, latent_to_pixel_coords, randn_tensor
|
| 227 |
+
from ltx_video.models.autoencoders.vae_encode import vae_encode, latent_to_pixel_coords
|
| 228 |
+
|
| 229 |
from ltx_video.pipelines.pipeline_ltx_video import ConditioningItem, LTXMultiScalePipeline
|
| 230 |
from ltx_video.utils.skip_layer_strategy import SkipLayerStrategy
|
| 231 |
from ltx_video.models.autoencoders.vae_encode import un_normalize_latents, normalize_latents
|