Update jspp.js

This commit is contained in:
Sam Sneed 2024-05-31 21:02:34 +00:00 committed by GitHub
parent 231de7d196
commit f7f25a2c3a
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -10,7 +10,7 @@ class JSPlusPlus {
return new Promise(resolve => setTimeout(resolve, ms));
}
function isToxic(sentences) {
isToxic(sentences) {
let pp = new JSPlusPlus
// Load the model. Users optionally pass in a threshold and an array of
// labels to include.