1
0
Fork 0
master
mrq 2023-03-16 05:14:15 +07:00
parent 0a7d6f02a7
commit 54f2fc792a
1 changed files with 1 additions and 1 deletions

@ -1401,7 +1401,7 @@ def prepare_dataset( voice, use_segments=False, text_length=0, audio_length=0, n
torch.save(quantized, f'{indir}/valle/{file.replace(".wav",".qnt.pt")}')
# phonemes = phonemizer(normalized_text)
open(f'{indir}/valle/{file.replace(".wav",".phn.txt")}', 'w', encoding='utf-8').write(" ".join(text))
open(f'{indir}/valle/{file.replace(".wav",".phn.txt")}', 'w', encoding='utf-8').write(text)
training_joined = "\n".join(lines['training'])
validation_joined = "\n".join(lines['validation'])