alphacep / vosk-api

Offline speech recognition API for Android, iOS, Raspberry Pi and servers with Python, Java, C# and Node
Apache License 2.0
7.7k stars 1.08k forks source link

vosk-transcriber: fix JSON output #1283

Closed s09bQ5 closed 9 months ago

s09bQ5 commented 1 year ago

The variable name was incorrect. This led to an error when the output was written. Also the result of appending a string to an array is that each character of the string becomes a separate element in the array. Appending the string as a single array element is much more useful.

nshmyrev commented 9 months ago

Fixed now, thank you!