Spaces:
Sleeping
Sleeping
mrolando
commited on
Commit
Β·
17295b2
1
Parent(s):
f73c48a
third
Browse files
tts.py
CHANGED
@@ -15,11 +15,11 @@ from vits import commons, utils
|
|
15 |
from vits.models import SynthesizerTrn
|
16 |
|
17 |
|
18 |
-
|
19 |
-
|
20 |
-
|
21 |
-
|
22 |
-
|
23 |
|
24 |
|
25 |
class TextMapper(object):
|
|
|
15 |
from vits.models import SynthesizerTrn
|
16 |
|
17 |
|
18 |
+
TTS_LANGUAGES = {}
|
19 |
+
with open(f"data/tts/all_langs.tsv") as f:
|
20 |
+
for line in f:
|
21 |
+
iso, name = line.split(" ", 1)
|
22 |
+
TTS_LANGUAGES[iso] = name
|
23 |
|
24 |
|
25 |
class TextMapper(object):
|
vits/.gitignore
CHANGED
@@ -8,4 +8,4 @@ __pycache__
|
|
8 |
|
9 |
build
|
10 |
*.c
|
11 |
-
monotonic_align/monotonic_align
|
|
|
8 |
|
9 |
build
|
10 |
*.c
|
11 |
+
#monotonic_align/monotonic_align
|
vits/monotonic_align/{__init__.py β monotonic_align/__init__.py}
RENAMED
File without changes
|
vits/monotonic_align/{core.pyx β monotonic_align/core.pyx}
RENAMED
File without changes
|
vits/monotonic_align/{setup.py β monotonic_align/setup.py}
RENAMED
File without changes
|