mirror of
https://github.com/huggingface/candle.git
synced 2025-06-19 19:58:35 +00:00
Re-organize the wasm examples (#231)
* Move the whisper example. * More renaming. * Add llama2 as a new wasm example. * Live generation. * More of the llama wasm example. * Formatting.
This commit is contained in:
6
candle-wasm-examples/whisper/main.js
Normal file
6
candle-wasm-examples/whisper/main.js
Normal file
@ -0,0 +1,6 @@
|
||||
import init, { run_app } from './pkg/candle_wasm_example_whisper.js';
|
||||
async function main() {
|
||||
await init('/pkg/candle_wasm_example_whisper_bg.wasm');
|
||||
run_app();
|
||||
}
|
||||
main()
|
Reference in New Issue
Block a user