coqui-ai / STT-examples

🐸STT integration examples
https://github.com/coqui-ai/STT
Mozilla Public License 2.0
117 stars 45 forks source link

django_streaming_api #37

Closed botankit closed 2 years ago

botankit commented 2 years ago

i am getting the segmentation fault(core dumped) error when doing the live transcription through Websockets after approx 1 sec or less than this. I only got one word of transcription after that error comes ... sometimes I got the malloc error.......I don't know how to fix this....

wasertech commented 2 years ago

Relates to https://github.com/ashwan1/django-deepspeech-server/issues/23

Just make sure channels is configured correctly. https://channels.readthedocs.io/en/1.x/installation.html https://channels.readthedocs.io/en/1.x/getting-started.html

wasertech commented 2 years ago

https://channels.readthedocs.io/en/2.x/one-to-two.html#how-to-upgrade There seem to be quite a lot involved into updating channels to 2.x.

botankit commented 2 years ago

can you tell me In the code where it is using inmemory channel layer?

botankit commented 2 years ago

Is there any resource, from where I can understand the JavaScript code of audio recording and audio pre-processing? As I know python only.

botankit commented 2 years ago

Screenshot from 2022-06-29 11-20-51

I am getting this error when running on websockets....