mirror of
https://github.com/m-bain/whisperX.git
synced 2025-07-01 18:17:27 -04:00
refactor: replace NamedTuple with TranscriptionOptions in FasterWhisperPipeline
This commit is contained in:
@ -107,7 +107,7 @@ class FasterWhisperPipeline(Pipeline):
|
|||||||
model: WhisperModel,
|
model: WhisperModel,
|
||||||
vad: VoiceActivitySegmentation,
|
vad: VoiceActivitySegmentation,
|
||||||
vad_params: dict,
|
vad_params: dict,
|
||||||
options: NamedTuple,
|
options: TranscriptionOptions,
|
||||||
tokenizer: Optional[Tokenizer] = None,
|
tokenizer: Optional[Tokenizer] = None,
|
||||||
device: Union[int, str, "torch.device"] = -1,
|
device: Union[int, str, "torch.device"] = -1,
|
||||||
framework="pt",
|
framework="pt",
|
||||||
|
Reference in New Issue
Block a user