Thank you for the input @lissyx.
As suggested, I have made the necessary changes in the backend code. But strangely, the results are not as accurate as before. I believe it has to do with the BEAM_WIDTH, LM_WEIGHT etc that are required to define the Deep Speech model. Please guide.
Here is the link: DeepSpeech-API
Also, my intent for this discussion is to have the above repository forked as a part of Mozilla DeepSpeech examples folder. DeepSpeech Examples
Reason: We want to introduce Mozilla DeepSpeech model to the students in the University. Since we don’t want the students to go through the entire setup, we want to run the model on a standalone server that runs DeepSpeech and students can use it over the browser. And later, if they find it interesting, they can involve themselves. A model over the browser makes things really easy.
Looking forward to your answer.