mirror of
https://github.com/huggingface/candle.git
synced 2025-06-21 20:22:49 +00:00
Polish the llama2 wasm ui. (#232)
* Polish the llama2 wasm ui. * readme update.
This commit is contained in:
@ -1,4 +1,5 @@
|
||||
fn main() {
|
||||
wasm_logger::init(wasm_logger::Config::new(log::Level::Trace));
|
||||
console_error_panic_hook::set_once();
|
||||
yew::Renderer::<candle_wasm_example_llama2::App>::new().render();
|
||||
}
|
||||
|
@ -1,4 +1,5 @@
|
||||
use yew_agent::PublicWorker;
|
||||
fn main() {
|
||||
console_error_panic_hook::set_once();
|
||||
candle_wasm_example_llama2::Worker::register();
|
||||
}
|
||||
|
Reference in New Issue
Block a user