From 2da678e4711d726f1ddf75f73aaf1332b692874f Mon Sep 17 00:00:00 2001 From: Isaac Brown <13248960+xevidos@users.noreply.github.com> Date: Sun, 25 Aug 2024 22:14:12 +0000 Subject: [PATCH] Fix missing initial prompt parameter --- modules/whisper/faster_whisper_inference.py | 1 + 1 file changed, 1 insertion(+) diff --git a/modules/whisper/faster_whisper_inference.py b/modules/whisper/faster_whisper_inference.py index 6927af47..9da68512 100644 --- a/modules/whisper/faster_whisper_inference.py +++ b/modules/whisper/faster_whisper_inference.py @@ -86,6 +86,7 @@ def transcribe(self, best_of=params.best_of, patience=params.patience, temperature=params.temperature, + initial_prompt=params.initial_prompt, compression_ratio_threshold=params.compression_ratio_threshold, length_penalty=params.length_penalty, repetition_penalty=params.repetition_penalty,