This commit is contained in:
Eren Gölge 2022-03-16 12:03:52 +01:00
parent f81892483d
commit 4af48e16a1
1 changed files with 1 additions and 1 deletions

View File

@ -246,7 +246,7 @@ def libri_tts(root_path, meta_files=None, ignored_speakers=None):
continue continue
items.append({"text": text, "audio_file": wav_file, "speaker_name": f"LTTS_{speaker_name}"}) items.append({"text": text, "audio_file": wav_file, "speaker_name": f"LTTS_{speaker_name}"})
for item in items: for item in items:
assert os.path.exists(item[1]), f" [!] wav files don't exist - {item[1]}" assert os.path.exists(item["audio_file"]), f" [!] wav files don't exist - {item['audio_file']}"
return items return items