ulysses115 commited on
Commit
2acab66
1 Parent(s): f2eaf5c

Update text/__init__.py

Browse files
Files changed (1) hide show
  1. 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
- coutinue
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