Skip to content

Commit

Permalink
add logs
Browse files Browse the repository at this point in the history
  • Loading branch information
robotaref committed Oct 22, 2023
1 parent 9a0f06f commit 9503418
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions vocode/streaming/transcriber/deepgram_transcriber.py
Original file line number Diff line number Diff line change
Expand Up @@ -223,6 +223,7 @@ async def receiver(ws: WebSocketClientProtocol):
self.logger.debug(f"Got error {e} in Deepgram receiver")
break
data = json.loads(msg)
self.logger.debug(f"Deepgram response: {data}")
if not "is_final" in data: # means we've finished receiving transcriptions
break
cur_max_latency = self.audio_cursor - transcript_cursor
Expand Down

0 comments on commit 9503418

Please sign in to comment.