mirror of
https://github.com/openai/whisper.git
synced 2025-11-24 14:35:57 +00:00
flake8 fix
This commit is contained in:
parent
921f4cb8f6
commit
4aa8014589
@ -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]:
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user