mirror of
https://github.com/RVC-Boss/GPT-SoVITS.git
synced 2025-04-06 03:57:44 +08:00
support gpt-sovits v2
support gpt-sovits v2
This commit is contained in:
parent
05028e3587
commit
85a57be266
@ -82,6 +82,7 @@ if os.path.exists(txt_path) == False:
|
|||||||
for name, text, lan in data:
|
for name, text, lan in data:
|
||||||
try:
|
try:
|
||||||
name = os.path.basename(name)
|
name = os.path.basename(name)
|
||||||
|
print(name)
|
||||||
phones, word2ph, norm_text = clean_text(
|
phones, word2ph, norm_text = clean_text(
|
||||||
text.replace("%", "-").replace("¥", ","), lan
|
text.replace("%", "-").replace("¥", ","), lan
|
||||||
)
|
)
|
||||||
@ -112,6 +113,12 @@ if os.path.exists(txt_path) == False:
|
|||||||
"EN": "en",
|
"EN": "en",
|
||||||
"en": "en",
|
"en": "en",
|
||||||
"En": "en",
|
"En": "en",
|
||||||
|
"KO": "ko",
|
||||||
|
"Ko": "ko",
|
||||||
|
"ko": "ko",
|
||||||
|
"yue": "yue",
|
||||||
|
"YUE": "yue",
|
||||||
|
"Yue": "yue",
|
||||||
}
|
}
|
||||||
for line in lines[int(i_part) :: int(all_parts)]:
|
for line in lines[int(i_part) :: int(all_parts)]:
|
||||||
try:
|
try:
|
||||||
|
Loading…
x
Reference in New Issue
Block a user