from local

This commit is contained in:
dohe0342 2023-01-27 17:26:34 +09:00
parent 8c43f8f2cd
commit 067d79a01c
2 changed files with 1 additions and 1 deletions

View File

@ -86,11 +86,11 @@ def prepare_vox(
for trans_path in tqdm(
glob.iglob(str(txt_path) + "/*.txt"), desc="Distributing tasks", leave=False
):
print(trans_path)
alignments = {}
with open(trans_path) as f:
cur_file_name = trans_path.split('/')[-1].replace('.txt', '')
if cur_file_name not in part_file_names:
print('hi!')
continue
for line in f:
futures.append(