Spaces:
Sleeping
Sleeping
Update text/__init__.py
Browse files- text/__init__.py +3 -3
text/__init__.py
CHANGED
@@ -1,11 +1,11 @@
|
|
1 |
""" from https://github.com/keithito/tacotron """
|
2 |
from text import cleaners
|
3 |
-
from text.symbols import symbols
|
4 |
|
5 |
|
6 |
# Mappings from symbol to numeric ID and vice versa:
|
7 |
-
_symbol_to_id = {s: i for i, s in enumerate(symbols)}
|
8 |
-
_id_to_symbol = {i: s for i, s in enumerate(symbols)}
|
9 |
|
10 |
|
11 |
def text_to_sequence(text, cleaner_names):
|
|
|
1 |
""" from https://github.com/keithito/tacotron """
|
2 |
from text import cleaners
|
3 |
+
#from text.symbols import symbols
|
4 |
|
5 |
|
6 |
# Mappings from symbol to numeric ID and vice versa:
|
7 |
+
#_symbol_to_id = {s: i for i, s in enumerate(symbols)}
|
8 |
+
#_id_to_symbol = {i: s for i, s in enumerate(symbols)}
|
9 |
|
10 |
|
11 |
def text_to_sequence(text, cleaner_names):
|