Download scripts/setup_voice.sh from hkblockchaintechnology/lyra-studio: direct link, hf CLI and curl.
- Browser
- Download file 364 Bytes
-
https://huggingface.co/hkblockchaintechnology/lyra-studio/resolve/main/scripts/setup_voice.sh
- Command line
-
hf download hf://hkblockchaintechnology/lyra-studio/scripts/setup_voice.sh
-
curl -L -o setup_voice.sh https://huggingface.co/hkblockchaintechnology/lyra-studio/resolve/main/scripts/setup_voice.sh
364 Bytes
| set -x | |
| B=/marimo/ai_studio | |
| mkdir -p $B/envs | |
| uv venv $B/envs/voice 2>&1 | tail -2 | |
| CP=$B/envs/voice/bin/python | |
| uv pip install -p $CP "qwen-tts" peft soundfile 2>&1 | tail -25 | |
| $CP -c "import torch,transformers;print('VOICE ENV OK torch',torch.__version__,'tf',transformers.__version__,'cuda',torch.cuda.is_available())" 2>&1 | tail -3 | |
| echo VOICE_ENV_DONE | |