2023-07-17 14:06:49 +09:00
2023-07-17 13:03:53 +09:00
2023-07-17 13:16:32 +09:00
2023-07-17 13:16:32 +09:00
2023-07-17 14:06:49 +09:00
2023-07-17 13:03:53 +09:00
2023-07-17 13:06:05 +09:00
2023-07-17 14:06:49 +09:00
2023-07-17 13:03:53 +09:00
2023-07-17 13:03:53 +09:00
2023-07-17 13:03:53 +09:00

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.git
cd rvc-tts

# 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
Description
No description provided
Readme MIT 266 KiB
Languages
Python 100%