mirror of
https://github.com/RVC-Boss/GPT-SoVITS.git
synced 2025-04-05 19:41:56 +08:00
Update 1-get-text.py
This commit is contained in:
parent
f6ea7ee1f5
commit
0e2467ace4
@ -90,7 +90,15 @@ if(os.path.exists(txt_path)==False):
|
||||
lines=f.read().strip("\n").split("\n")
|
||||
|
||||
language_v1_to_language_v2={
|
||||
"ZH":"zh"
|
||||
"ZH":"zh",
|
||||
"zh":"zh",
|
||||
"JP":"ja",
|
||||
"jp":"ja",
|
||||
"JA":"ja",
|
||||
"ja":"ja",
|
||||
"EN":"en",
|
||||
"en":"en",
|
||||
"En":"en",
|
||||
}
|
||||
for line in lines[int(i_part)::int(all_parts)]:
|
||||
try:
|
||||
|
Loading…
x
Reference in New Issue
Block a user