Skip to content

Commit 27c5e63

Browse files
authored
Fix function calling when writing word timestamps (#156)
1 parent 8cba655 commit 27c5e63

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

sdp/processors/inference/asr/faster_whisper/faster_whisper_inference.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -388,7 +388,7 @@ def _write_words(words: List[Dict]):
388388

389389
output_words_filepath = None
390390
if self.config.inference.word_timestamps:
391-
output_words_filepath = _write_words(output_words_filepath, sample_words)
391+
output_words_filepath = _write_words(sample_words)
392392

393393
return dict(segments = output_segments_filepath, words = output_words_filepath)
394394

0 commit comments

Comments
 (0)