This directory contains examples of STT running in a web page and processing audio files:
index.html
: STT running in a web page, processing a manually provided audio file;index_worker.html
: STT running in a WebWorker within a web page, processing a manually provided audio file;
Install NPM modules (only used to serve the web page):
npm install
Download the latest version of the STT library:
npm run download
(Optional) Download a pre-trained model and scorer from the Coqui Model Zoo to the root of the project:
mkdir models
cd models
mv $HOME/Downloads/model.tflite .
mv $HOME/Downloads/huge-vocab.scorer .
cd ..
Serve the demo:
npm run start