Update app.py
Browse files
app.py
CHANGED
|
@@ -92,12 +92,12 @@ DEFAULT_PROMPT = (
|
|
| 92 |
"Fine lunar dust lifts and drifts outward with each movement, floating "
|
| 93 |
"in slow arcs before settling back onto the ground."
|
| 94 |
)
|
| 95 |
-
DEFAULT_FRAME_RATE =
|
| 96 |
|
| 97 |
# Resolution presets: (width, height)
|
| 98 |
RESOLUTIONS = {
|
| 99 |
-
"high": {"16:9": (1536, 1024), "9:16": (1024, 1536), "1:1": (1024, 1024)
|
| 100 |
-
"low": {"16:9": (768, 512), "9:16": (512, 768), "1:1": (768, 768)
|
| 101 |
}
|
| 102 |
|
| 103 |
|
|
@@ -292,7 +292,7 @@ checkpoint_path = hf_hub_download(
|
|
| 292 |
local_dir=str(weights_dir),
|
| 293 |
local_dir_use_symlinks=False,
|
| 294 |
)
|
| 295 |
-
spatial_upsampler_path = hf_hub_download(repo_id=LTX_MODEL_REPO, filename="ltx-2.3-spatial-upscaler-x2-1.
|
| 296 |
|
| 297 |
print("[Gemma] Setting up abliterated Gemma text encoder...")
|
| 298 |
MERGED_WEIGHTS = "/tmp/abliterated_gemma_merged.safetensors"
|
|
|
|
| 92 |
"Fine lunar dust lifts and drifts outward with each movement, floating "
|
| 93 |
"in slow arcs before settling back onto the ground."
|
| 94 |
)
|
| 95 |
+
DEFAULT_FRAME_RATE = 25.0
|
| 96 |
|
| 97 |
# Resolution presets: (width, height)
|
| 98 |
RESOLUTIONS = {
|
| 99 |
+
"high": {"16:9": (1536, 1024), "9:16": (1024, 1536), "1:1": (1024, 1024)},
|
| 100 |
+
"low": {"16:9": (768, 512), "9:16": (512, 768), "1:1": (768, 768)},
|
| 101 |
}
|
| 102 |
|
| 103 |
|
|
|
|
| 292 |
local_dir=str(weights_dir),
|
| 293 |
local_dir_use_symlinks=False,
|
| 294 |
)
|
| 295 |
+
spatial_upsampler_path = hf_hub_download(repo_id=LTX_MODEL_REPO, filename="ltx-2.3-spatial-upscaler-x2-1.1.safetensors")
|
| 296 |
|
| 297 |
print("[Gemma] Setting up abliterated Gemma text encoder...")
|
| 298 |
MERGED_WEIGHTS = "/tmp/abliterated_gemma_merged.safetensors"
|