mirror of
https://github.com/huggingface/candle.git
synced 2025-06-15 18:28:24 +00:00

* 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.
7 lines
160 B
JavaScript
7 lines
160 B
JavaScript
import init, { run_app } from './pkg/candle_wasm_example.js';
|
|
async function main() {
|
|
await init('/pkg/candle_wasm_example_bg.wasm');
|
|
run_app();
|
|
}
|
|
main()
|