Spaces:
Paused
Paused
Merge branch 'main' of https://huggingface.co/spaces/Hyathi/LatentSync
Browse filesFiles changed (2)
- app.py+3-2
- setup_env.sh+1-1
4 unmodified lines56789101112131415164 unmodified linesimport argparsefrom datetime import datetimeimport subprocessCONFIG_PATH = Path("configs/unet/second_stage.yaml")CHECKPOINT_PATH = Path("checkpoints/latentsync_unet.pt")subprocess.run(["huggingface-cli", "download", "chunyu-li/LatentSync", "--local-dir", "checkpoints", "--exclude", "*.git*", "README.md"])def process_video(video_path,4 unmodified lines5678910111213141516174 unmodified linesimport argparsefrom datetime import datetimeimport subprocessimport osCONFIG_PATH = Path("configs/unet/second_stage.yaml")CHECKPOINT_PATH = Path("checkpoints/latentsync_unet.pt")# subprocess.run(["huggingface-cli", "download", "Hyathi/LatentSync", "--local-dir", "checkpoints", "--exclude", "*.git*", "README.md"])subprocess.run(["huggingface-cli", "download", "Hyathi/LatentSync", "--local-dir", "checkpoints", "--exclude", "*.git*", "README.md", "--token", os.environ["HF_TOKEN"]])def process_video(video_path,
13 unmodified lines1415161718192013 unmodified linessudo apt -y install libgl1# Download all the checkpoints from HuggingFacehuggingface-cli download chunyu-li/LatentSync --local-dir checkpoints --exclude "*.git*" "README.md"# Soft links for the auxiliary modelsmkdir -p ~/.cache/torch/hub/checkpoints13 unmodified lines1415161718192013 unmodified linessudo apt -y install libgl1# Download all the checkpoints from HuggingFacehuggingface-cli download Hyathi/LatentSync --local-dir checkpoints --exclude "*.git*" "README.md"# Soft links for the auxiliary modelsmkdir -p ~/.cache/torch/hub/checkpoints
app.py+3-2
setup_env.sh+1-1