Skip to content

Commit

Permalink
remove duplicated line
Browse files Browse the repository at this point in the history
Signed-off-by: Oren Amsalem <[email protected]>
  • Loading branch information
orena1 authored Dec 3, 2024
1 parent 6099683 commit 788ecdd
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion nemo/collections/asr/models/ctc_bpe_models.py
Original file line number Diff line number Diff line change
Expand Up @@ -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'):
Expand Down

0 comments on commit 788ecdd

Please sign in to comment.