command

WhisperX transcription command-line interface.

Classes

WhisperXCommand

Command-line interface for running OpenAI Whisper.

WhisperXInferenceCommand

Command-line interface for transcribing an audio track with WhisperX.

class WhisperXCommand[source]

Bases: Command

Command-line interface for running OpenAI Whisper.

static execute(parser, args)[source]

Executes the command.

Parameters:
  • parser (ArgumentParser) – The argument parser.

  • args (Namespace) – The arguments.

Returns:

static setup(parser)[source]

Sets up the command.

Parameters:

parser (ArgumentParser) – The argument parser.

Returns:

class WhisperXInferenceCommand[source]

Bases: Command

Command-line interface for transcribing an audio track with WhisperX.

static execute(parser, args)[source]

Executes the command.

Parameters:
  • parser (ArgumentParser) – The argument parser.

  • args (Namespace) – The arguments.

Returns:

static setup(parser)[source]

Sets up the command.

Parameters:

parser (ArgumentParser) – The argument parser.

Returns: