From f7f25a2c3a29b91e649e65216656321deda27abc Mon Sep 17 00:00:00 2001 From: Sam Sneed <163201376+sam-sneed@users.noreply.github.com> Date: Fri, 31 May 2024 21:02:34 +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 05ff453..7e9902d 100644 --- a/jspp.js +++ b/jspp.js @@ -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.