flake8 fix

This commit is contained in:
Jong Wook Kim 2023-11-06 10:08:54 -08:00
parent 921f4cb8f6
commit 4aa8014589

View File

@ -232,7 +232,7 @@ class Tokenizer:
@cached_property @cached_property
def all_language_codes(self) -> Tuple[str]: def all_language_codes(self) -> Tuple[str]:
return tuple(self.decode([l]).strip("<|>") for l in self.all_language_tokens) return tuple(self.decode([_l]).strip("<|>") for _l in self.all_language_tokens)
@cached_property @cached_property
def sot_sequence_including_notimestamps(self) -> Tuple[int]: def sot_sequence_including_notimestamps(self) -> Tuple[int]: