Skip to content

Latest commit

 

History

History
40 lines (23 loc) · 1.1 KB

karaokit.md

File metadata and controls

40 lines (23 loc) · 1.1 KB

module karaokit


function karaokit

karaokit(
    media_file: str,
    output_file_dir: str,
    language: str,
    model: str = 'large',
    resolution: str = 'md',
    dry_run: bool = False
) → None

Generate a subbed video from an media file.

Args:

  • media_file (str): The path to the input media file (mp3 or mp4)
  • output_file_dir (str): The path to the output subbed video file
  • language (str): The language of the media
  • model (str, optional): The size of the transcription model, Whisper. Defaults to "large".
  • resolution (str, optional): The resolution of the video. Defaults to "md".