diff --git a/egs/librispeech/ASR/.prepare_4446.sh.swp b/egs/librispeech/ASR/.prepare_4446.sh.swp index fcac937fb..d32cfe41d 100644 Binary files a/egs/librispeech/ASR/.prepare_4446.sh.swp and b/egs/librispeech/ASR/.prepare_4446.sh.swp differ diff --git a/egs/librispeech/ASR/local/.prepare_vox_text.py.swp b/egs/librispeech/ASR/local/.prepare_vox_text.py.swp index 8911601c2..b2ad3112c 100644 Binary files a/egs/librispeech/ASR/local/.prepare_vox_text.py.swp and b/egs/librispeech/ASR/local/.prepare_vox_text.py.swp differ diff --git a/egs/librispeech/ASR/local/prepare_vox_text.py b/egs/librispeech/ASR/local/prepare_vox_text.py index cc483bda3..82590d28c 100755 --- a/egs/librispeech/ASR/local/prepare_vox_text.py +++ b/egs/librispeech/ASR/local/prepare_vox_text.py @@ -1,6 +1,7 @@ import os import sys import re +import glob metafile = sys.argv[1] outdir = "texts" @@ -32,4 +33,4 @@ for string in strings: # Create a new text file with the filename and write text2 to it filename = os.path.join(save_dir, filename) with open(f"{filename}.txt", "w") as file: - file.write(text2) \ No newline at end of file + file.write(text2)