command.wasm : add voice assistant example for the Web (#171)

Same as the command-line tool "command", but runs in the browser

Also, added helper script "extra/deploy-wasm.sh" and fixed some timing
constants for the WASM examples.
This commit is contained in:
Georgi Gerganov
2022-11-26 11:40:06 +02:00
parent c536ff4005
commit 68ecadbbc9
12 changed files with 939 additions and 28 deletions

View File

@@ -21,6 +21,7 @@ include_directories(${CMAKE_CURRENT_SOURCE_DIR})
if (EMSCRIPTEN)
add_subdirectory(whisper.wasm)
add_subdirectory(stream.wasm)
add_subdirectory(command.wasm)
add_subdirectory(talk.wasm)
else()
add_subdirectory(main)