From 54f2fc792a6c94826e063870e1bf16954037083d Mon Sep 17 00:00:00 2001 From: mrq Date: Thu, 16 Mar 2023 05:14:15 +0000 Subject: [PATCH] ops --- src/utils.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/utils.py b/src/utils.py index fcdb932..24cb6a5 100755 --- a/src/utils.py +++ b/src/utils.py @@ -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'])