3 Commits

View File

@@ -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.type):
if Transcript.is_type(event):
tr = Transcript.from_event(event)
transcript_text = tr.text
break