Files
rvc-tts-webui/README.md
2023-07-17 14:09:33 +09:00

1.3 KiB

RVC Text-to-Speech

This is a text-to-speech using RVC and edge-tts.

Install

Requirements: Checked for Python 3.10 on Windows 11.

git clone https://github.com/litagin02/rvc-tts-webui.git
cd rvc-tts-webui

# Download models
curl -L -O https://huggingface.co/lj1995/VoiceConversionWebUI/resolve/main/hubert_base.pt
curl -L -O https://huggingface.co/lj1995/VoiceConversionWebUI/resolve/main/rmvpe.pt

# Make virtual environment
python -m venv venv
## Windows
venv\Scripts\activate

# Install PyTorch
# See https://pytorch.org/get-started/locally/ for more details

## For Windows with NVIDIA GPU
pip install torch torchvision torchaudio --index-url https://download.pytorch.org/whl/cu118
## For Windows with CPU
pip install torch torchvision torchaudio

# Install requirements

pip install -r requirements.txt

Locate RVC models

Locate your RVC models in weights/ directory as follows:

weights/
├── model1/
│   ├── model1.pth
│   └── index_file.index
└── model2/
    ├── model2.pth
    └── index_file.index
...

Each model directory should contain exactly one .pth file and at most one .index file.

Launch

python app.py