eeuuia commited on
Commit
53021a6
verified
1 Parent(s): 0701f73

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -2
app.py CHANGED
@@ -55,8 +55,8 @@ FPS = 24
55
  print(f"=== Baixando snapshot do reposit贸rio base: {base_repo} ===")
56
  ckpt_path_str = hf_hub_download(repo_id=base_repo, filename=checkpoint_path, cache_dir=CACHE_DIR)
57
  ckpt_path = Path(ckpt_path_str)
58
- if not ckpt_path.is_file():
59
- raise FileNotFoundError(f"Main checkpoint file not found: {ckpt_path}")
60
 
61
  # 3. Carregar cada componente da pipeline explicitamente
62
  print("=== Carregando componentes da pipeline... ===")
 
55
  print(f"=== Baixando snapshot do reposit贸rio base: {base_repo} ===")
56
  ckpt_path_str = hf_hub_download(repo_id=base_repo, filename=checkpoint_path, cache_dir=CACHE_DIR)
57
  ckpt_path = Path(ckpt_path_str)
58
+ if not ckpt_path.is_file():
59
+ raise FileNotFoundError(f"Main checkpoint file not found: {ckpt_path}")
60
 
61
  # 3. Carregar cada componente da pipeline explicitamente
62
  print("=== Carregando componentes da pipeline... ===")