mirror of
https://github.com/the-spellman/js-plus-plus-toxicity-demo
synced 2024-12-23 09:32:33 -06:00
Update index.html
This commit is contained in:
parent
c03bfd66f3
commit
dff360383f
1 changed files with 1 additions and 1 deletions
|
@ -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)
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue