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:
Laurent Mazare
2023-07-24 12:36:02 +01:00
committed by GitHub
parent 550a13a547
commit 5a26cba733
22 changed files with 988 additions and 18 deletions

View File

@ -0,0 +1,4 @@
fn main() {
wasm_logger::init(wasm_logger::Config::new(log::Level::Trace));
yew::Renderer::<candle_wasm_example_llama2::App>::new().render();
}

View File

@ -0,0 +1,4 @@
use yew_agent::PublicWorker;
fn main() {
candle_wasm_example_llama2::Worker::register();
}