wllama-webcpu / build.sh
smartdigitalnetworks's picture
Upload 4 files
ce4c9c6 verified
raw
history blame
252 Bytes
#!/bin/bash
set -e
if [ ! -d "./source" ]; then
git clone https://github.com/ngxson/wllama.git source
cd source
else
cd source
git pull
fi
cd examples/main
npm i
npm run build
cd ../../..
rm -rf assets
cp -r ./source/examples/main/dist/* .