mirror of
https://github.com/ggml-org/whisper.cpp.git
synced 2026-07-23 11:10:57 -05:00
examples : add wchess.wasm to wasm examples build (#3443)
* examples : add wchess.wasm to wasm examples build This commit add the wchess.wasm example to the wasm examples that are deployed to https://ggml.ai/whisper.cpp. Refs: https://github.com/ggml-org/whisper.cpp/issues/3434#issuecomment-3346980420
This commit is contained in:
6
.github/workflows/examples-wasm.yml
vendored
6
.github/workflows/examples-wasm.yml
vendored
@@ -67,6 +67,12 @@ jobs:
|
||||
cp ${build_dir}/stream.wasm/{index.html,stream.js,helpers.js} ${target_dir}
|
||||
cp ${build_dir}/libstream.js ${target_dir}
|
||||
|
||||
# wchess.wasm
|
||||
target_dir=staging/wchess.wasm
|
||||
mkdir -p ${target_dir}
|
||||
cp -r ${build_dir}/wchess.wasm/{index.html,css,img,js} ${target_dir}
|
||||
cp ${build_dir}/wchess.wasm.js ${target_dir}
|
||||
|
||||
# whisper.wasm (this will be the main example page)
|
||||
target_dir=staging
|
||||
mkdir -p ${target_dir}
|
||||
|
||||
Reference in New Issue
Block a user