The demo shows how to use embeddings produced by the Universal Sentence Encoder.
cd into the demo folder:
cd universal-sentence-encoder/demo
Install dependencies and prepare the build directory:
yarn
Build the universal sentence encoder locally which the demo depends on:
yarn build-deps
To watch files for changes, and launch a dev server:
yarn watch
cd into the universal-sentence-encoder/demo folder:
cd universal-sentence-encoder/demo
Rebuild universal sentence encoder locally:
yarn build-deps
Start the dev demo server:
yarn watch
To get future updates from the universal-sentence-encoder
source code,
just run yarn build-deps
in the universal-sentence-encoder/demo folder again.