add extra formats

This commit is contained in:
Mariano Gabriel
2026-06-09 17:46:37 -03:00
parent 307f261284
commit 3c96de85ad
2 changed files with 89 additions and 2 deletions

View File

@@ -82,6 +82,15 @@ Examples:
help='Language of the audio (e.g. en, es, fr). Default: auto-detect',
default=None
)
parser.add_argument(
'--transcript-formats',
help='Comma-separated extra transcript/diarization formats to write '
'alongside JSON (choices: srt, vtt, txt, tsv, or all). JSON is '
'always written as the base for the enhanced transcript. '
'Only produced when transcription actually runs (use '
'--skip-cache-whisper to regenerate). Example: --transcript-formats srt,txt',
default=None
)
# Output options
parser.add_argument(