Skip to content

Commit

Permalink
🐛 fix tests openai_api_stt
Browse files Browse the repository at this point in the history
  • Loading branch information
zhzLuke96 committed Aug 8, 2024
1 parent f04c1a4 commit d0a8e09
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion modules/core/models/stt/whisper/writer.py
Original file line number Diff line number Diff line change
Expand Up @@ -73,7 +73,7 @@ def write_result(
**kwargs,
):
for segment in segments:
print(segment.text.strip() + "\n", file=file, flush=True)
print(segment.text.strip(), file=file, flush=True)


class WriteVTT(ResultWriter):
Expand Down

0 comments on commit d0a8e09

Please sign in to comment.