from local

This commit is contained in:
dohe0342 2023-03-13 14:18:15 +09:00
parent 4864600e31
commit 2d74329d83
3 changed files with 1 additions and 1 deletions

View File

@ -81,7 +81,7 @@ def prepare_vox(
#part_file_names = list(map(lambda x: x.strip('.wav'), os.listdir(part_path))) #part_file_names = list(map(lambda x: x.strip('.wav'), os.listdir(part_path)))
part_file_names = sorted(glob.glob(str(part_path)+'/*.wav')) part_file_names = sorted(glob.glob(str(part_path)+'/*.wav'))
part_file_names = [name.split('/')[-1].replace('.wav', '') for name in part_file_names] part_file_names = [name.split('/')[-1].replace('.wav', '') for name in part_file_names]
txt_path = os.path.join(corpus_dir, "texts") txt_path = os.path.join(corpus_dir, f"../{spk_id}/texts")
futures = [] futures = []
for trans_path in tqdm( for trans_path in tqdm(