Spaces:
Paused
Paused
Update app_ltx.py
Browse files- app_ltx.py +1 -0
app_ltx.py
CHANGED
|
@@ -25,6 +25,7 @@ from inference import (
|
|
| 25 |
from ltx_video.pipelines.pipeline_ltx_video import ConditioningItem, LTXMultiScalePipeline, LTXVideoPipeline
|
| 26 |
from ltx_video.utils.skip_layer_strategy import SkipLayerStrategy
|
| 27 |
|
|
|
|
| 28 |
|
| 29 |
config_file_path = APP_HOME / "configs/ltxv-13b-0.9.8-distilled-fp8.yaml"
|
| 30 |
with open(config_file_path, "r") as file:
|
|
|
|
| 25 |
from ltx_video.pipelines.pipeline_ltx_video import ConditioningItem, LTXMultiScalePipeline, LTXVideoPipeline
|
| 26 |
from ltx_video.utils.skip_layer_strategy import SkipLayerStrategy
|
| 27 |
|
| 28 |
+
APP_HOME = Path(os.environ.get("APP_HOME", "/app"))
|
| 29 |
|
| 30 |
config_file_path = APP_HOME / "configs/ltxv-13b-0.9.8-distilled-fp8.yaml"
|
| 31 |
with open(config_file_path, "r") as file:
|