Update jspp.js
This commit is contained in:
parent
231de7d196
commit
f7f25a2c3a
1 changed files with 1 additions and 1 deletions
2
jspp.js
2
jspp.js
|
@ -10,7 +10,7 @@ class JSPlusPlus {
|
||||||
return new Promise(resolve => setTimeout(resolve, ms));
|
return new Promise(resolve => setTimeout(resolve, ms));
|
||||||
}
|
}
|
||||||
|
|
||||||
function isToxic(sentences) {
|
isToxic(sentences) {
|
||||||
let pp = new JSPlusPlus
|
let pp = new JSPlusPlus
|
||||||
// Load the model. Users optionally pass in a threshold and an array of
|
// Load the model. Users optionally pass in a threshold and an array of
|
||||||
// labels to include.
|
// labels to include.
|
||||||
|
|
Loading…
Reference in a new issue