Update app.py
Browse files
app.py
CHANGED
|
@@ -350,11 +350,11 @@ print(f"Gemma root: {gemma_root}")
|
|
| 350 |
# Initialize pipeline WITH text encoder and optional audio support
|
| 351 |
# ---- Replace block (pipeline init) lines 275-281 ----
|
| 352 |
pipeline = LTX23NegativePromptTwoStagePipeline(
|
| 353 |
-
|
| 354 |
-
spatial_upsampler_path=spatial_upsampler_path,
|
| 355 |
-
gemma_root=gemma_root,
|
| 356 |
loras=[],
|
| 357 |
-
quantization=QuantizationPolicy.fp8_cast(),
|
| 358 |
)
|
| 359 |
# ----------------------------------------------------------------
|
| 360 |
|
|
|
|
| 350 |
# Initialize pipeline WITH text encoder and optional audio support
|
| 351 |
# ---- Replace block (pipeline init) lines 275-281 ----
|
| 352 |
pipeline = LTX23NegativePromptTwoStagePipeline(
|
| 353 |
+
checkpoint_path=str(checkpoint_path),
|
| 354 |
+
spatial_upsampler_path=str(spatial_upsampler_path),
|
| 355 |
+
gemma_root=str(gemma_root),
|
| 356 |
loras=[],
|
| 357 |
+
quantization=QuantizationPolicy.fp8_cast(),
|
| 358 |
)
|
| 359 |
# ----------------------------------------------------------------
|
| 360 |
|