update cdn info

master
Vladimir Mandic 2022-01-05 11:48:54 -05:00
parent 9f7de66621
commit 8b60fcb8a8
1 changed files with 7 additions and 4 deletions

@ -22,13 +22,16 @@ Default models in Human library are:
`Human` includes default models but supports number of additional models and model variations of existing models
Additional models can be accessed via:
Additional models can be accessed via:
- [GitHub repository](https://github.com/vladmandic/human-models)
- [NPMjs package](https://www.npmjs.com/package/@vladmandic/human-models)
- [jsDelivr CDN](https://www.jsdelivr.com/package/npm/@vladmandic/human-models)
You can manually download models and update configuration `modelPath` value to each model or simply set `baseModelPath` to this list
To use online CDN, simply set `human.config.baseModelPath` to `https://www.jsdelivr.com/package/npm/@vladmandic/human-models/models`
To use alternative models from local host:
- download them either from *github* or *npmjs* and either
- set human configuration value `modelPath` for each model or
- set global configuration value `baseModelPath` to location of downloaded models
To use alternative models from a CDN use location prefix `https://www.jsdelivr.com/package/npm/@vladmandic/human-models/models/` for either configuration value of `modelPath` or `baseModelPath`
## Changes