Update index.html

This commit is contained in:
Sam Sneed 2024-05-31 23:33:27 +00:00 committed by GitHub
parent dff360383f
commit 715af20f36
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") let p = document.getElementById("toxicityBool")
const objSentence = [sentence] const objSentence = [sentence]
let toxic = await helpers.isToxic(objSentence) let toxic = await helpers.isToxic(objSentence)
p.innerText = toxic.toString() p.innerText = JSON.stringify(toxic.toString)
console.log(toxic) console.log(toxic)
} }