dagloop5 commited on
Commit
9a24168
·
verified ·
1 Parent(s): e345df9

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +4 -4
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 = 24.0
96
 
97
  # Resolution presets: (width, height)
98
  RESOLUTIONS = {
99
- "high": {"16:9": (1536, 1024), "9:16": (1024, 1536), "1:1": (1024, 1024), "9:7": (1408, 1088), "7:9": (1088, 1408), "19:13": (1472, 1008), "13:19": (1008, 1472)},
100
- "low": {"16:9": (768, 512), "9:16": (512, 768), "1:1": (768, 768), "9:7": (704, 544), "7:9": (544, 704), "19:13": (736, 504), "13:19": (504, 736)},
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.0.safetensors")
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"