Skip to content

Commit d7a536e

Browse files
authored
Merge pull request #7 from speechmatics/change-max-delay
Allow float max_delay values and change default to 1.5
2 parents fa67fcb + 7123c3f commit d7a536e

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

stream_transcriber/streams.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -42,7 +42,7 @@
4242
"SM_ENABLE_TRANSLATION_PARTIALS", "False"
4343
).lower() in ("true", "1", "t")
4444

45-
MAX_DELAY = int(os.getenv("SM_MAX_DELAY", "3"))
45+
MAX_DELAY = float(os.getenv("SM_MAX_DELAY", "1.5"))
4646

4747
FRAME_RATE = 16000
4848
FFMPEG_OUTPUT_FORMAT = "f32le"

0 commit comments

Comments
 (0)