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
dff360383f
commit
715af20f36
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.toString()
|
p.innerText = JSON.stringify(toxic.toString)
|
||||||
console.log(toxic)
|
console.log(toxic)
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue