fixed another issue from haphazardly copying my changes from my training machine

This commit is contained in:
mrq 2023-08-23 22:09:22 +00:00
parent 29290f574e
commit dc46fdc7d0

View File

@ -2662,7 +2662,8 @@ def prepare_dataset( voice, use_segments=False, text_length=0, audio_length=0, p
if culled or args.tts_backend != "vall-e":
continue
os.makedirs(f'{indir}/valle/', exist_ok=True)
# os.makedirs(f'{indir}/valle/', exist_ok=True)
os.makedirs(f'./training/valle/data/{voice}/', exist_ok=True)
#phn_file = f'{indir}/valle/{file.replace(f".{extension}",".phn.txt")}'
phn_file = f'./training/valle/data/{voice}/{file.replace(f".{extension}",".phn.txt")}'