Spaces:
Build error
Build error
| ```bash | |
| # 1. ๋ฆฌํฌ์งํ ๋ฆฌ ํด๋ก ๋ฐ ์ด๋ | |
| git clone https://github.com/yourusername/cosyvoice.git | |
| cd cosyvoice | |
| # 2. ์์กด์ฑ ์ค์น | |
| pip install -r requirements.txt | |
| # 3. ์ฌ์ ํ์ต ๋ชจ๋ธ ๋ค์ด๋ก๋ (Python ์ฝ๋ ์คํ) | |
| from modelscope import snapshot_download | |
| # CosyVoice2 TTS ๋ชจ๋ธ | |
| snapshot_download('iic/CosyVoice2-0.5B', local_dir='pretrained_models/CosyVoice2-0.5B') | |
| # CosyVoice ์ ์ฒ๋ฆฌ๊ธฐ (frontend) | |
| snapshot_download('iic/CosyVoice-ttsfrd', local_dir='pretrained_models/CosyVoice-ttsfrd') | |
| # 4. frontend ๋ฆฌ์์ค ์์ถ ํด์ | |
| cd pretrained_models/CosyVoice-ttsfrd/ | |
| unzip resource.zip -d . | |
| # 5. ttsfrd ์์กด์ฑ ์ค์น | |
| pip install ttsfrd_dependency-0.1-py3-none-any.whl | |
| pip install ttsfrd-0.4.2-cp310-cp310-linux_x86_64.whl | |