Spaces:
Sleeping
Sleeping
Commit
·
cd8c6a9
1
Parent(s):
9b210a9
changes
Browse files
app.py
CHANGED
@@ -10,7 +10,7 @@ import os
|
|
10 |
CONFIG_PATH = Path("configs/unet/second_stage.yaml")
|
11 |
CHECKPOINT_PATH = Path("checkpoints/latentsync_unet.pt")
|
12 |
|
13 |
-
subprocess.run(["huggingface-cli", "download", "Hyathi/
|
14 |
|
15 |
def process_video(
|
16 |
video_path,
|
|
|
10 |
CONFIG_PATH = Path("configs/unet/second_stage.yaml")
|
11 |
CHECKPOINT_PATH = Path("checkpoints/latentsync_unet.pt")
|
12 |
|
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,
|