diff --git a/index.html b/index.html index 2d41dbf..eaee1f8 100644 --- a/index.html +++ b/index.html @@ -10,7 +10,7 @@ const sentence = document.getElementById("textBox1").value let p = document.getElementById("toxicityBool") const objSentence = [sentence] let toxic = await helpers.isToxic(objSentence) -p.innerText = toxic.toString() +p.innerText = JSON.stringify(toxic.toString) console.log(toxic) }