nikita-sedletskiy commited on
Commit
0bd9e57
Β·
1 Parent(s): 87f6d0e
Files changed (1) hide show
  1. README.md +12 -85
README.md CHANGED
@@ -1,85 +1,12 @@
1
- # RVC Text-to-Speech WebUI
2
-
3
- This is a text-to-speech Gradio webui for [RVC](https://github.com/RVC-Project/Retrieval-based-Voice-Conversion-WebUI) models, using [edge-tts](https://github.com/rany2/edge-tts).
4
-
5
- [πŸ€— Online Demo](https://huggingface.co/spaces/litagin/rvc_okiba_TTS)
6
-
7
- This can run on CPU without GPU (but slow).
8
-
9
- ![Screenshot](assets/screenshot.jpg)
10
-
11
- ## Install
12
-
13
- Requirements: Tested for Python 3.10 on Windows 11. Python 3.11 is probably not supported, so please use Python 3.10.
14
-
15
- ```bash
16
- git clone https://github.com/litagin02/rvc-tts-webui.git
17
- cd rvc-tts-webui
18
-
19
- # Download models in root directory
20
- curl -L -O https://huggingface.co/lj1995/VoiceConversionWebUI/resolve/main/hubert_base.pt
21
- curl -L -O https://huggingface.co/lj1995/VoiceConversionWebUI/resolve/main/rmvpe.pt
22
-
23
- # Make virtual environment
24
- python -m venv venv
25
- # Activate venv (for Windows)
26
- venv\Scripts\activate
27
-
28
- # Install PyTorch manually if you want to use NVIDIA GPU (Windows)
29
- # See https://pytorch.org/get-started/locally/ for more details
30
- pip install torch torchvision torchaudio --index-url https://download.pytorch.org/whl/cu118
31
-
32
- # Install requirements
33
- pip install -r requirements.txt
34
- ```
35
-
36
- ## Locate RVC models
37
-
38
- Place your RVC models in `weights/` directory as follows:
39
-
40
- ```bash
41
- weights
42
- β”œβ”€β”€ model1
43
- β”‚ β”œβ”€β”€ my_model1.pth
44
- β”‚ └── my_index_file_for_model1.index
45
- └── model2
46
- β”œβ”€β”€ my_model2.pth
47
- └── my_index_file_for_model2.index
48
- ...
49
- ```
50
-
51
- Each model directory should contain exactly one `.pth` file and at most one `.index` file. Directory names are used as model names.
52
-
53
- It seems that non-ASCII characters in path names gave faiss errors (like `weights/ヒデル1/index.index`), so please avoid them.
54
-
55
- ## Launch
56
-
57
- ```bash
58
- # Activate venv (for Windows)
59
- venv\Scripts\activate
60
-
61
- python app.py
62
- ```
63
-
64
- ## Update
65
-
66
- ```bash
67
- git pull
68
- venv\Scripts\activate
69
- pip install -r requirements.txt --upgrade
70
- ```
71
-
72
- ## Troubleshooting
73
-
74
- ```
75
- error: Microsoft Visual C++ 14.0 or greater is required. Get it with "Microsoft C++ Build Tools": https://visualstudio.microsoft.com/visual-cpp-build-tools/
76
- [end of output]
77
-
78
- note: This error originates from a subprocess, and is likely not a problem with pip.
79
- ERROR: Failed building wheel for fairseq
80
- Failed to build fairseq
81
- ERROR: Could not build wheels for fairseq, which is required to install pyproject.toml-based projects
82
- ```
83
-
84
- Maybe fairseq needs Microsoft C++ Build Tools.
85
- [Download installer](https://visualstudio.microsoft.com/ja/thank-you-downloading-visual-studio/?sku=BuildTools&rel=16) and install it.
 
1
+ ---
2
+ title: Test
3
+ emoji: πŸ“ˆ
4
+ colorFrom: indigo
5
+ colorTo: pink
6
+ sdk: gradio
7
+ sdk_version: 3.44.4
8
+ app_file: app.py
9
+ pinned: false
10
+ ---
11
+
12
+ Check out the configuration reference at https://huggingface.co/docs/hub/spaces-config-reference