Update index.html

This commit is contained in:
Sam Sneed 2024-05-31 23:31:07 +00:00 committed by GitHub
parent c03bfd66f3
commit dff360383f
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 p.innerText = toxic.toString()
console.log(toxic) console.log(toxic)
} }