Update index.html

This commit is contained in:
Sam Sneed 2024-05-31 23:22:37 +00:00 committed by GitHub
parent f5b33d7ea3
commit 9bbffad7bb
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -5,7 +5,7 @@ const helpers = new JSPlusPlus.General.Helpers
const html = new JSPlusPlus.HTMLFrontend const html = new JSPlusPlus.HTMLFrontend
html.initHead("Toxicity Check") html.initHead("Toxicity Check")
html.initBody() html.initBody()
function tox() { async function tox() {
const sentence = document.getElementById("textBox1").value const sentence = document.getElementById("textBox1").value
let p = document.getElementById("toxicityBool") let p = document.getElementById("toxicityBool")
const objSentence = [sentence] const objSentence = [sentence]