SillyTavern / Extension-Speech-Recognition

Convert your speech to text using browser or extras.
GNU General Public License v3.0
4 stars 12 forks source link

Fix language specification #7

Closed Risenafis closed 3 months ago

Risenafis commented 3 months ago

/api/speech/recognize gets the request with const { model, audio, lang } = req.body;, so we need to use lang instead of language. (If I should fix the endpoint instead, please let me know.)

Cohee1207 commented 3 months ago

Doing it here is good because there's no backward compatibility to worry about, since it never worked.