mirror of
https://github.com/litagin02/rvc-tts-webui.git
synced 2026-01-19 18:41:51 +00:00
Update README and refactor
This commit is contained in:
55
README.md
55
README.md
@@ -1,3 +1,56 @@
|
||||
# RVC Text-to-Speech
|
||||
|
||||
This is a text-to-speech using [RVC](https://github.com/RVC-Project/Retrieval-based-Voice-Conversion-WebUI) and [edge-tts](https://github.com/rany2/edge-tts).
|
||||
This is a text-to-speech using [RVC](https://github.com/RVC-Project/Retrieval-based-Voice-Conversion-WebUI) and [edge-tts](https://github.com/rany2/edge-tts).
|
||||
|
||||
## Install
|
||||
|
||||
Requirements: Checked for Python 3.10 on Windows 11.
|
||||
|
||||
```bash
|
||||
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:
|
||||
|
||||
```bash
|
||||
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
|
||||
|
||||
```bash
|
||||
python app.py
|
||||
```
|
||||
Reference in New Issue
Block a user