To pull the latest version of the submodules, run the following command:
git submodule update --init --recursive
To build the necessary libraries, inject them, and compile the WebAssembly (WASM) binary, execute the following:
./build.sh
To run tests, navigate to the tests
directory, install dependencies, and run the tests:
cd tests
npm install
npm run test
To avoid downloading models every time you run the application, you can set up a local server to host the models from your machine. This will allow you to access the models locally, which improves efficiency.
For detailed instructions on setting up and running the server locally, refer to the README.md
file located in the ./server
folder: ./server/README.md.