From 48d123b15b104cca7ed29d7df243209127040740 Mon Sep 17 00:00:00 2001 From: BCM Date: Wed, 10 Apr 2024 11:12:50 -0400 Subject: [PATCH] Remove word_timestamp from getTranscriptionWhisperASR Not supported by WhisperASR. Fixes https://github.com/djmango/obsidian-transcription/issues/52 --- src/transcribe.ts | 1 - 1 file changed, 1 deletion(-) diff --git a/src/transcribe.ts b/src/transcribe.ts index 0ca5bb8..fffc798 100644 --- a/src/transcribe.ts +++ b/src/transcribe.ts @@ -128,7 +128,6 @@ export class TranscriptionEngine { await payloadGenerator(payload_data); let args = "output=json"; // always output json, so we can have the timestamps if we need them - args += `&word_timestamps=true`; // always output word timestamps, so we can have the timestamps if we need them const { translate, encode, vadFilter, language, initialPrompt } = this.settings; if (translate) args += `&task=translate`; if (encode !== DEFAULT_SETTINGS.encode) args += `&encode=${encode}`;