Skip to content

Commit

Permalink
fix: invalid params to faster-whisper
Browse files Browse the repository at this point in the history
  • Loading branch information
aiwantaozi committed Dec 12, 2024
1 parent af4aacc commit 6394575
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions vox_box/backends/stt/faster_whisper.py
Original file line number Diff line number Diff line change
Expand Up @@ -114,7 +114,6 @@ def transcribe(
temperature=temperature,
without_timestamps=without_timestamps,
word_timestamps=word_timestamps,
**kwargs,
)

# The transcription will actually run here.
Expand All @@ -130,7 +129,7 @@ def transcribe(
else:
timestamps.append(seg._asdict())

text = text_buffer.getvalue()
text = text_buffer.getvalue().strip()
if without_timestamps:
return text

Expand Down

0 comments on commit 6394575

Please sign in to comment.