mirror of
https://github.com/huggingface/candle.git
synced 2025-06-21 12:20:46 +00:00
Add Yolo Pose to JS Example (#684)
* add support for yolo pose models * fix copy
This commit is contained in:
@ -31,7 +31,7 @@ sh build-lib.sh
|
||||
This will bundle the library under `./build` and we can import it inside our WebWorker like a normal JS module:
|
||||
|
||||
```js
|
||||
import init, { Model } from "./build/m.js";
|
||||
import init, { Model, ModelPose } from "./build/m.js";
|
||||
```
|
||||
|
||||
The full example can be found under `./lib-example.html`. All needed assets are fetched from the web, so no need to download anything.
|
||||
|
Reference in New Issue
Block a user