From aba6e07ba2581ccdb35ac4d0f5266f7f95611c6a Mon Sep 17 00:00:00 2001 From: FrancisHu <87693204+Francis-Komizu@users.noreply.github.com> Date: Tue, 16 Aug 2022 22:18:07 +0800 Subject: [PATCH] Update preprocess.py --- preprocess.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/preprocess.py b/preprocess.py index aaedbf0..e7b8c83 100644 --- a/preprocess.py +++ b/preprocess.py @@ -6,8 +6,8 @@ parser = argparse.ArgumentParser() parser.add_argument("--out_extension", default="cleaned") parser.add_argument("--text_index", default=1, type=int) - parser.add_argument("--filelists", nargs="+", default=["filelists/ljs_audio_text_val_filelist.txt", "filelists/ljs_audio_text_test_filelist.txt"]) - parser.add_argument("--text_cleaners", nargs="+", default=["english_cleaners2"]) + parser.add_argument("--filelists", nargs="+", type=str, required=True) + parser.add_argument("--text_cleaners", nargs="+", default=["japanese_cleaners"]) args = parser.parse_args()