Plachta commited on
Commit
d65174e
β€’
1 Parent(s): d83b987

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -0
app.py CHANGED
@@ -81,6 +81,8 @@ def text_to_phoneme(text, symbols, is_symbol):
81
  sequence = ""
82
  if not is_symbol:
83
  clean_text = japanese_cleaners(text)
 
 
84
  for symbol in clean_text:
85
  if symbol not in _symbol_to_id.keys():
86
  continue
 
81
  sequence = ""
82
  if not is_symbol:
83
  clean_text = japanese_cleaners(text)
84
+ else:
85
+ clean_text = text
86
  for symbol in clean_text:
87
  if symbol not in _symbol_to_id.keys():
88
  continue