Compare commits
1 Commits
ddcc5f5e04
...
AddingAudi
| Author | SHA1 | Date | |
|---|---|---|---|
| bb47cb691c |
@@ -51,7 +51,7 @@ async def _async_transcribe(host: str, port: int, timeout: float, pcm_bytes: byt
|
|||||||
if event is None:
|
if event is None:
|
||||||
break
|
break
|
||||||
|
|
||||||
if Transcript.is_type(event):
|
if Transcript.is_type(event.type):
|
||||||
tr = Transcript.from_event(event)
|
tr = Transcript.from_event(event)
|
||||||
transcript_text = tr.text
|
transcript_text = tr.text
|
||||||
break
|
break
|
||||||
|
|||||||
Reference in New Issue
Block a user