mirror of
https://github.com/SYSTRAN/faster-whisper.git
synced 2026-01-09 21:48:08 -05:00
Fix unset attribute when using English-only models
This commit is contained in:
@@ -31,6 +31,7 @@ class Tokenizer:
|
||||
else:
|
||||
self.task = None
|
||||
self.language = None
|
||||
self.language_code = "en"
|
||||
|
||||
@cached_property
|
||||
def sot(self) -> int:
|
||||
|
||||
Reference in New Issue
Block a user