diff --git a/Diag.md b/Diag.md index 54e68fe..4453149 100644 --- a/Diag.md +++ b/Diag.md @@ -48,7 +48,7 @@ console.log(human.env); ## Get list of all models ```js -const models = Object.keys(human.models).map((model) => ({ name: model, loaded: (human.models[model] !== null) })); +const models = human.models.list(); console.log(models); ``` ```js diff --git a/Home.md b/Home.md index aef63ef..e2844a7 100644 --- a/Home.md +++ b/Home.md @@ -367,7 +367,7 @@ For more info, see [**Configuration Details**](https://github.com/vladmandic/hum


-`Human` library is written in [TypeScript](https://www.typescriptlang.org/docs/handbook/intro.html) **4.9** using [TensorFlow/JS](https://www.tensorflow.org/js/) **4.0** and conforming to latest `JavaScript` [ECMAScript version 2022](https://262.ecma-international.org/) standard +`Human` library is written in [TypeScript](https://www.typescriptlang.org/docs/handbook/intro.html) **4.9** using [TensorFlow/JS](https://www.tensorflow.org/js/) **4.1** and conforming to latest `JavaScript` [ECMAScript version 2022](https://262.ecma-international.org/) standard Build target for distributables is `JavaScript` [EMCAScript version 2018](https://262.ecma-international.org/9.0/)