From 788ecdd39a4b3ed1500e23306cf29154f5802576 Mon Sep 17 00:00:00 2001 From: Oren Amsalem Date: Tue, 3 Dec 2024 03:04:09 +0200 Subject: [PATCH] remove duplicated line Signed-off-by: Oren Amsalem --- nemo/collections/asr/models/ctc_bpe_models.py | 1 - 1 file changed, 1 deletion(-) diff --git a/nemo/collections/asr/models/ctc_bpe_models.py b/nemo/collections/asr/models/ctc_bpe_models.py index 1f84989c8ebe..874cde628c35 100644 --- a/nemo/collections/asr/models/ctc_bpe_models.py +++ b/nemo/collections/asr/models/ctc_bpe_models.py @@ -247,7 +247,6 @@ def change_vocabulary( if not os.path.isdir(new_tokenizer_dir): raise NotADirectoryError( f'New tokenizer dir must be non-empty path to a directory. But I got: {new_tokenizer_dir}' - f"New tokenizer dir must be non-empty path to a directory. But I got: {new_tokenizer_dir}" ) if new_tokenizer_type.lower() not in ('bpe', 'wpe'):