mirror of
https://github.com/openai/whisper.git
synced 2026-01-09 13:28:03 -05:00
flake8 fix
This commit is contained in:
@@ -232,7 +232,7 @@ class Tokenizer:
|
||||
|
||||
@cached_property
|
||||
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
|
||||
def sot_sequence_including_notimestamps(self) -> Tuple[int]:
|
||||
|
||||
Reference in New Issue
Block a user