diff --git a/index.html b/index.html index 0646bb1..0c2c54e 100644 --- a/index.html +++ b/index.html @@ -94,6 +94,8 @@ async function startVoiceRecognition( callbackOnComplete ) { const channel = new MessageChannel(); // const model = await Vosk.createModel('model.tar.gz'); const model = await Vosk.createModel('https://fabien.benetou.fr/pub/home/future_of_text_demo/engine/vosk-browser/vosk-model-small-en-us-0.15.tar.gz'); + // more models https://alphacephei.com/vosk/models including French + // e.g here const model = await Vosk.createModel('https://fabien.benetou.fr/pub/home/future_of_text_demo/engine/vosk-browser/vosk-browser/vosk-model-small-fr-pguyot-0.3.zip'); model.registerPort(channel.port1); const sampleRate = 48000;