funasr/runtime/python/libtorch/funasr_torch/utils/utils.py
@@ -9,7 +9,6 @@ import numpy as np import yaml from typeguard import check_argument_types import warnings @@ -21,7 +20,6 @@ class TokenIDConverter(): def __init__(self, token_list: Union[List, str], ): check_argument_types() self.token_list = token_list self.unk_symbol = token_list[-1] @@ -51,7 +49,6 @@ space_symbol: str = "<space>", remove_non_linguistic_symbols: bool = False, ): check_argument_types() self.space_symbol = space_symbol self.non_linguistic_symbols = self.load_symbols(symbol_value)