Download scripts/setup_lipsync.sh from hkblockchaintechnology/lyra-studio: direct link, hf CLI and curl.
- Browser
- Download file 372 Bytes
-
https://huggingface.co/hkblockchaintechnology/lyra-studio/resolve/main/scripts/setup_lipsync.sh
- Command line
-
hf download hf://hkblockchaintechnology/lyra-studio/scripts/setup_lipsync.sh
-
curl -L -o setup_lipsync.sh https://huggingface.co/hkblockchaintechnology/lyra-studio/resolve/main/scripts/setup_lipsync.sh
372 Bytes
| set -x | |
| B=/marimo/ai_studio | |
| uv venv $B/envs/lipsync 2>&1 | tail -1 | |
| CP=$B/envs/lipsync/bin/python | |
| uv pip install -p $CP torch torchvision opencv-python-headless librosa soundfile numpy tqdm 2>&1 | tail -6 | |
| PYTHONPATH= $CP -c "import torch,cv2,librosa;print('LIPSYNC torch',torch.__version__,'cuda',torch.cuda.is_available())" 2>&1 | tail -3 | |
| echo LIPSYNC_ENV_DONE | |