Skip to content

Update test_links.yml #474

Update test_links.yml

Update test_links.yml #474

Workflow file for this run

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"