Spaces:
Running on Zero
Running on Zero
App: fix mismatching variables
Browse files
app.py
CHANGED
|
@@ -87,13 +87,13 @@ GEMMA_MOUNT = "/models/gemma"
|
|
| 87 |
DISTILLED_FILENAME = "ltx-2.3-22b-distilled-1.1.safetensors"
|
| 88 |
UPSCALER_FILENAME = "ltx-2.3-spatial-upscaler-x2-1.1.safetensors"
|
| 89 |
|
| 90 |
-
|
| 91 |
-
|
| 92 |
gemma_root = GEMMA_MOUNT
|
| 93 |
|
| 94 |
# Initialize pipeline WITH text encoder
|
| 95 |
pipeline = DistilledPipeline(
|
| 96 |
-
distilled_checkpoint_path=
|
| 97 |
spatial_upsampler_path=spatial_upsampler_path,
|
| 98 |
gemma_root=gemma_root,
|
| 99 |
loras=[],
|
|
|
|
| 87 |
DISTILLED_FILENAME = "ltx-2.3-22b-distilled-1.1.safetensors"
|
| 88 |
UPSCALER_FILENAME = "ltx-2.3-spatial-upscaler-x2-1.1.safetensors"
|
| 89 |
|
| 90 |
+
distilled_checkpoint_path = os.path.join(LTX_MOUNT, DISTILLED_FILENAME)
|
| 91 |
+
spatial_upsampler_path = os.path.join(LTX_MOUNT, UPSCALER_FILENAME)
|
| 92 |
gemma_root = GEMMA_MOUNT
|
| 93 |
|
| 94 |
# Initialize pipeline WITH text encoder
|
| 95 |
pipeline = DistilledPipeline(
|
| 96 |
+
distilled_checkpoint_path=distilled_checkpoint_path,
|
| 97 |
spatial_upsampler_path=spatial_upsampler_path,
|
| 98 |
gemma_root=gemma_root,
|
| 99 |
loras=[],
|