deepanshu-16 commited on
Commit
7f8c591
·
verified ·
1 Parent(s): 9a223ad

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -2
app.py CHANGED
@@ -9,8 +9,8 @@ import subprocess
9
  CONFIG_PATH = Path("configs/unet/second_stage.yaml")
10
  CHECKPOINT_PATH = Path("checkpoints/latentsync_unet.pt")
11
 
12
- subprocess.run(["huggingface-cli", "download", "Hyathi/LatentSync", "--local-dir", "checkpoints", "--exclude", "*.git*", "README.md"])
13
-
14
 
15
  def process_video(
16
  video_path,
 
9
  CONFIG_PATH = Path("configs/unet/second_stage.yaml")
10
  CHECKPOINT_PATH = Path("checkpoints/latentsync_unet.pt")
11
 
12
+ # subprocess.run(["huggingface-cli", "download", "Hyathi/LatentSync", "--local-dir", "checkpoints", "--exclude", "*.git*", "README.md"])
13
+ subprocess.run(["huggingface-cli", "download", "Hyathi/LatentSync", "--local-dir", "checkpoints", "--exclude", "*.git*", "README.md", "--token", os.environ["HF_TOKEN"]])
14
 
15
  def process_video(
16
  video_path,