mirror of
https://github.com/huggingface/candle.git
synced 2025-06-17 02:58:50 +00:00
Whisper example in wasm. (#169)
* Whisper example in wasm. * Load the model. * Get the whisper demo to work (though slowly). * Polish the UI a bit. * Minor tweak. * More UI. * Add the progress bar.
This commit is contained in:
6
candle-wasm-example/main.js
Normal file
6
candle-wasm-example/main.js
Normal file
@ -0,0 +1,6 @@
|
||||
import init, { run_app } from './pkg/candle_wasm_example.js';
|
||||
async function main() {
|
||||
await init('/pkg/candle_wasm_example_bg.wasm');
|
||||
run_app();
|
||||
}
|
||||
main()
|
Reference in New Issue
Block a user