diff --git a/src/commands/server.py b/src/commands/server.py index f8b5dc9..088c28d 100644 --- a/src/commands/server.py +++ b/src/commands/server.py @@ -51,7 +51,7 @@ async def _async_transcribe(host: str, port: int, timeout: float, pcm_bytes: byt if event is None: break - if Transcript.is_type(event): + if Transcript.is_type(event.type): tr = Transcript.from_event(event) transcript_text = tr.text break