Closed NGgmnBQGwR closed 1 week ago
Thanks, I've added a fix for that to perform resampling on the browser side. Can you see if it's fixed from https://lite.koboldai.net (just connect to your local endpoint)
Indeed, now "Detect Voice" mode works without errors. Thank you!
The fix is now in the latest released version, please try it.
Using "Firefox 126.0.1 (64-bit)" and "koboldcpp-1.67" on Windows10.
When closing the settings dialog with selected option "Speech Control: Detect Voice", Firefox throws this error:
on this line: https://github.com/LostRuins/koboldcpp/blob/5789417802503b0d3f73b1a53e49bad4d46d4832/klite.embd#L12777
I was able to "fix" it locally with this change:
(it seemingly works, but I have no understanding of this code, why it failed and why it worked after this change)