Skip to content

Latest commit

 

History

History
38 lines (26 loc) · 839 Bytes

README.md

File metadata and controls

38 lines (26 loc) · 839 Bytes

STT WebAssembly example

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

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 ..

Run

Serve the demo:

npm run start