from local

This commit is contained in:
dohe0342 2023-03-13 16:59:50 +09:00
parent f269169c43
commit 94e34ec4bf
2 changed files with 4 additions and 4 deletions

View File

@ -811,13 +811,13 @@ def main():
except: pass
for k, v in res_dict:
v = v.strip()
if len(v) < 10:
continue
#v = v.strip()
#if len(v) < 10:
# continue
utt_id = '-'.join(k.split('-')[:-1])
print(utt_id)
f = open(f'/DB/LibriSpeech_tar/vox/{params.spk_id}_texts/{utt_id}.txt', 'w')
f.write(v.strip())
f.write(v)
print(k, v)
exit()