Spaces:
Sleeping
Sleeping
Commit
·
2acab66
1
Parent(s):
f2eaf5c
Update text/__init__.py
Browse files- text/__init__.py +1 -1
text/__init__.py
CHANGED
@@ -28,7 +28,7 @@ def text_to_sequence(text, cleaner_names, ):
|
|
28 |
clean_text = _clean_text(text, cleaner_names)
|
29 |
for symbol in clean_text:
|
30 |
if symbol not in _symbol_to_id.keys():
|
31 |
-
|
32 |
symbol_id = _symbol_to_id[symbol]
|
33 |
sequence += [symbol_id]
|
34 |
return sequence
|
|
|
28 |
clean_text = _clean_text(text, cleaner_names)
|
29 |
for symbol in clean_text:
|
30 |
if symbol not in _symbol_to_id.keys():
|
31 |
+
continue
|
32 |
symbol_id = _symbol_to_id[symbol]
|
33 |
sequence += [symbol_id]
|
34 |
return sequence
|