Spaces:
Runtime error
Runtime error
Update app.py
Browse files
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
|