From 19d54b7e202dc7ba84d9cd3a45af70b62c74c055 Mon Sep 17 00:00:00 2001 From: Sam Sneed <163201376+sam-sneed@users.noreply.github.com> Date: Fri, 31 May 2024 23:19:53 +0000 Subject: [PATCH] Update jspp.js --- jspp.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/jspp.js b/jspp.js index 76040a4..daeeafa 100644 --- a/jspp.js +++ b/jspp.js @@ -11,7 +11,7 @@ class JSPlusPlus { return new Promise(resolve => setTimeout(resolve, ms)); } - isToxic(sentences) { + async isToxic(sentences) { // Load the model. Users optionally pass in a threshold and an array of // labels to include. const gen = new JSPlusPlus.General