Spaces:
Sleeping
Sleeping
vineelpratap
commited on
Commit
•
6d199ad
1
Parent(s):
50a74e8
Update tts.py
Browse files
tts.py
CHANGED
@@ -25,7 +25,7 @@ TTS_LANGUAGES = {}
|
|
25 |
with open(f"data/tts/all_langs.tsv") as f:
|
26 |
for line in f:
|
27 |
iso, name = line.split(" ", 1)
|
28 |
-
TTS_LANGUAGES[iso] = name
|
29 |
|
30 |
|
31 |
class TextMapper(object):
|
|
|
25 |
with open(f"data/tts/all_langs.tsv") as f:
|
26 |
for line in f:
|
27 |
iso, name = line.split(" ", 1)
|
28 |
+
TTS_LANGUAGES[iso.strip()] = name.strip()
|
29 |
|
30 |
|
31 |
class TextMapper(object):
|