Update index.html

This commit is contained in:
Sam Sneed 2024-05-31 23:36:07 +00:00 committed by GitHub
parent 715af20f36
commit adb22c3bd3
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -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 = JSON.stringify(toxic.toString)
p.innerText = JSON.stringify(toxic)
console.log(toxic)
}