Skip to content

Commit cbd61de

Browse files
authored
Merge pull request #1 from speechmatics/minor-improvements
Minor improvements
2 parents 50ee5f9 + 04bb229 commit cbd61de

File tree

2 files changed

+6
-5
lines changed

2 files changed

+6
-5
lines changed

requirements.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,4 +3,4 @@ httpx[http2]~=0.23
33
polling2~=0.5
44
toml~=0.10.2
55
prometheus-client~=0.16.0
6-
speechmatics-python~=1.9.0
6+
speechmatics-python~=1.11.1

stream_transcriber/streams.py

Lines changed: 5 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -277,10 +277,11 @@ async def load_stream(stream_name: str):
277277
)
278278
await force_close_connections(stream)
279279
sm_client.stop()
280-
await process.kill()
281-
await asr_task.cancel()
282-
await stream_clone_task.cancel()
283-
await send_audio_task.cancel()
280+
281+
process.kill()
282+
asr_task.cancel()
283+
stream_clone_task.cancel()
284+
send_audio_task.cancel()
284285

285286
LOGGER.info("Finished transcription", extra={"stream": stream_name})
286287

0 commit comments

Comments
 (0)