diff --git a/whisperx/asr.py b/whisperx/asr.py index 0b47127..67d8a8b 100644 --- a/whisperx/asr.py +++ b/whisperx/asr.py @@ -319,7 +319,8 @@ def load_model( whisper_arch - The name of the Whisper model to load. device - The device to load the model on. compute_type - The compute type to use for the model. - vad_method - The vad method to use. vad_model has higher priority if is not None. + vad_model - The vad model to manually assign. + vad_method - The vad method to use. vad_model has a higher priority if it is not None. options - A dictionary of options to use for the model. language - The language of the model. (use English for now) model - The WhisperModel instance to use. diff --git a/whisperx/transcribe.py b/whisperx/transcribe.py index 46a7746..8eca427 100644 --- a/whisperx/transcribe.py +++ b/whisperx/transcribe.py @@ -119,7 +119,6 @@ def transcribe_task(args: dict, parser: argparse.ArgumentParser): # Part 1: VAD & ASR Loop results = [] - tmp_results = [] # model = load_model(model_name, device=device, download_root=model_dir) model = load_model( model_name,