mirror of
https://github.com/RVC-Boss/GPT-SoVITS.git
synced 2025-10-07 23:48:48 +08:00
Update cleaner.py
删除不必要的循环
This commit is contained in:
parent
24ccc892af
commit
27b1e2a597
@ -50,8 +50,6 @@ def clean_text(text, language, version=None):
|
||||
else:
|
||||
phones = language_module.g2p(norm_text)
|
||||
word2ph = None
|
||||
|
||||
for ph in phones:
|
||||
phones = ['UNK' if ph not in symbols else ph for ph in phones]
|
||||
return phones, word2ph, norm_text
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user