From 204a3b2fb288422dbc077a5ba29e0d6b2e24f356 Mon Sep 17 00:00:00 2001 From: jinzr Date: Tue, 12 Mar 2024 12:44:26 +0800 Subject: [PATCH] arg type fixed --- egs/commonvoice/ASR/local/word_segment_yue.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/egs/commonvoice/ASR/local/word_segment_yue.py b/egs/commonvoice/ASR/local/word_segment_yue.py index 55eaf6db1..716993654 100755 --- a/egs/commonvoice/ASR/local/word_segment_yue.py +++ b/egs/commonvoice/ASR/local/word_segment_yue.py @@ -110,7 +110,7 @@ if __name__ == "__main__": input_file = Path(args.input_file) output_dir = Path(args.output_dir) - lang = Path(args.lang) + lang = args.lang assert input_file.is_file(), f"{input_file} does not exist" assert output_dir.is_dir(), f"{output_dir} does not exist"