From 536602cf4779b87aa20ba059a98977058c73c886 Mon Sep 17 00:00:00 2001 From: Fan Qian Date: Wed, 20 Aug 2025 18:38:11 +0800 Subject: [PATCH] Fix function calling when writing word timestamps --- .../inference/asr/faster_whisper/faster_whisper_inference.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/sdp/processors/inference/asr/faster_whisper/faster_whisper_inference.py b/sdp/processors/inference/asr/faster_whisper/faster_whisper_inference.py index b8e419d9..ad32d40c 100644 --- a/sdp/processors/inference/asr/faster_whisper/faster_whisper_inference.py +++ b/sdp/processors/inference/asr/faster_whisper/faster_whisper_inference.py @@ -388,7 +388,7 @@ def _write_words(words: List[Dict]): output_words_filepath = None if self.config.inference.word_timestamps: - output_words_filepath = _write_words(output_words_filepath, sample_words) + output_words_filepath = _write_words(sample_words) return dict(segments = output_segments_filepath, words = output_words_filepath)