mirror of
https://github.com/the-spellman/js-plus-plus-toxicity-demo
synced 2024-10-29 23:27:50 +00:00
Update index.html
This commit is contained in:
parent
715af20f36
commit
adb22c3bd3
1 changed files with 1 additions and 1 deletions
|
@ -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)
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue