mirror of
https://github.com/RVC-Boss/GPT-SoVITS.git
synced 2025-10-06 22:50:00 +08:00
Update tqdm desc
This commit is contained in:
parent
3be2defcc7
commit
e1d55e46e7
@ -79,7 +79,8 @@ if os.path.exists(txt_path) == False:
|
||||
return phone_level_feature.T
|
||||
|
||||
def process(data, res):
|
||||
for name, text, lan in tqdm(data, desc="Processing"):
|
||||
print(i_part)
|
||||
for name, text, lan in tqdm(data, desc=f"Process {i_part}"):
|
||||
try:
|
||||
name = os.path.basename(name)
|
||||
phones, word2ph, norm_text = clean_text(
|
||||
|
@ -97,7 +97,7 @@ def name2go(wav_name,wav_path):
|
||||
with open(inp_text,"r",encoding="utf8")as f:
|
||||
lines=f.read().strip("\n").split("\n")
|
||||
|
||||
for line in tqdm(lines[int(i_part)::int(all_parts)], desc="Processing"):
|
||||
for line in tqdm(lines[int(i_part)::int(all_parts)], desc=f"Process {i_part}"):
|
||||
try:
|
||||
# wav_name,text=line.split("\t")
|
||||
wav_name, spk_name, language, text = line.split("|")
|
||||
|
@ -81,7 +81,7 @@ if os.path.exists(semantic_path) == False:
|
||||
lines = f.read().strip("\n").split("\n")
|
||||
|
||||
lines1 = []
|
||||
for line in tqdm(lines[int(i_part) :: int(all_parts)], desc="Processing"):
|
||||
for line in tqdm(lines[int(i_part) :: int(all_parts)], desc=f"Process {i_part}"):
|
||||
# print(line)
|
||||
try:
|
||||
# wav_name,text=line.split("\t")
|
||||
|
Loading…
x
Reference in New Issue
Block a user