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