From 5079d99ee26b83d797585cc3ccd4ebceeb70617d Mon Sep 17 00:00:00 2001 From: Mingshuang Luo <37799481+luomingshuang@users.noreply.github.com> Date: Wed, 8 Jun 2022 12:06:57 +0800 Subject: [PATCH] a correction for text2segmentation.py (#407) --- egs/wenetspeech/ASR/local/text2segments.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/egs/wenetspeech/ASR/local/text2segments.py b/egs/wenetspeech/ASR/local/text2segments.py index acf6f9698..3df727c67 100644 --- a/egs/wenetspeech/ASR/local/text2segments.py +++ b/egs/wenetspeech/ASR/local/text2segments.py @@ -61,8 +61,8 @@ def main(): parser = get_parser() args = parser.parse_args() - input_file = args.input - output_file = args.output + input_file = args.input_file + output_file = args.output_file f = open(input_file, "r", encoding="utf-8") lines = f.readlines()