eeuuia commited on
Commit
2d61567
·
verified ·
1 Parent(s): 25e81d8

Update api/ltx/ltx_aduc_pipeline.py

Browse files
Files changed (1) hide show
  1. api/ltx/ltx_aduc_pipeline.py +1 -1
api/ltx/ltx_aduc_pipeline.py CHANGED
@@ -237,7 +237,7 @@ class LtxAducPipeline:
237
 
238
  # 5. Carrega o Latent Upsampler (também na CPU)
239
  latent_upsampler = None
240
- if self.config("spatial_upscaler_model_path"):
241
  spatial_path_str = hf_hub_download(repo_id=LTX_REPO_ID, filename=self.config["spatial_upscaler_model_path"], cache_dir=CACHE_DIR)
242
  spatial_path = Path(spatial_path_str)
243
  if not ckpt_path.is_file():
 
237
 
238
  # 5. Carrega o Latent Upsampler (também na CPU)
239
  latent_upsampler = None
240
+ if self.config["spatial_upscaler_model_path"]:
241
  spatial_path_str = hf_hub_download(repo_id=LTX_REPO_ID, filename=self.config["spatial_upscaler_model_path"], cache_dir=CACHE_DIR)
242
  spatial_path = Path(spatial_path_str)
243
  if not ckpt_path.is_file():