1.3.0
_( 1/* - Renewal Process... )_
#464
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Тест CLI скриптов | |
on: | |
push: | |
branches: | |
- dev/PolGen-Lite | |
pull_request: | |
branches: | |
- dev/PolGen-Lite | |
jobs: | |
rvc_cli: | |
runs-on: ubuntu-latest | |
steps: | |
- name: Проверка кода | |
uses: actions/checkout@v4 | |
- name: Настройка Python | |
uses: actions/setup-python@v5 | |
with: | |
python-version: '3.10' | |
- name: Установка зависимостей | |
run: | | |
pip install --upgrade pip==24.0 | |
pip install -r requirements.txt | |
pip install torch==2.3.1 torchvision==0.18.1 torchaudio==2.3.1 --upgrade --index-url https://download.pytorch.org/whl/cu121 | |
- name: Установка необходимых моделей | |
run: | | |
python download_models.py | |
python3 -m rvc.modules.model_manager "https://huggingface.co/Politrees/Victor_Tsoi/resolve/main/Victor_Tsoi.zip?download=true" "Tsoi" | |
- name: Установка аудио для теста | |
run: | | |
mkdir -p audio | |
wget https://huggingface.co/Politrees/audio_for_test/resolve/main/BritishEnglishUKTest5.mp3 -O audio/test.mp3 | |
- name: Запуск скрипта rvc_cli | |
run: | | |
python3 -m rvc.cli.rvc_cli -i audio/test.mp3 -m Tsoi -p -0.5 -ir 0 -fr 3 -rms 0.25 -f0 "rmvpe+" -hop 32 -pro 0.33 -f0min 1 -f0max 1100 -f "mp3" | |
tts_cli: | |
runs-on: ubuntu-latest | |
steps: | |
- name: Проверка кода | |
uses: actions/checkout@v4 | |
- name: Настройка Python | |
uses: actions/setup-python@v5 | |
with: | |
python-version: '3.10' | |
- name: Установка зависимостей | |
run: | | |
pip install --upgrade pip==24.0 | |
pip install --no-cache-dir -r requirements.txt | |
pip install torch==2.3.1 torchvision==0.18.1 torchaudio==2.3.1 --upgrade --index-url https://download.pytorch.org/whl/cu121 | |
- name: Установка необходимых моделей | |
run: | | |
python download_models.py | |
python3 -m rvc.modules.model_manager "https://huggingface.co/Politrees/Victor_Tsoi/resolve/main/Victor_Tsoi.zip?download=true" "Tsoi" | |
- name: Запуск скрипта tts_cli | |
run: | | |
python3 -m rvc.cli.edge_tts_cli -i "e" -m Tsoi -v "en-US-GuyNeural" -p -0.5 -ir 0 -fr 3 -rms 0.25 -f0 "rmvpe+" -hop 32 -pro 0.33 -f0min 1 -f0max 1100 -f "mp3" |