From a8f39db913e6c18891981a2f15418aa16f68992d Mon Sep 17 00:00:00 2001 From: lutangar Date: Tue, 30 Apr 2024 11:03:12 +0200 Subject: [PATCH] feat(transcription): allow use of a local mode in timestamped-whisper --- .../src/whisper/transcriber/timestamped-transcriber.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/packages/transcription/src/whisper/transcriber/timestamped-transcriber.ts b/packages/transcription/src/whisper/transcriber/timestamped-transcriber.ts index 48163e1df..f819f8d67 100644 --- a/packages/transcription/src/whisper/transcriber/timestamped-transcriber.ts +++ b/packages/transcription/src/whisper/transcriber/timestamped-transcriber.ts @@ -22,7 +22,7 @@ export class WhisperTimestampedTranscriber extends OpenaiTranscriber { await $$`${this.engine.binary} ${[ mediaFilePath, '--model', - model.name, + model?.path || model.name, '--output_format', 'all', '--output_dir',