From 1ff0839815f042ee95987ea810a6328fb7e4d1da Mon Sep 17 00:00:00 2001 From: Zarathushtra Date: Sun, 14 Sep 2025 12:21:27 +0545 Subject: [PATCH] comment removed --- 4-Classification/4-Applied/CouisineMatcher.js | 4 ---- 1 file changed, 4 deletions(-) diff --git a/4-Classification/4-Applied/CouisineMatcher.js b/4-Classification/4-Applied/CouisineMatcher.js index f7c837c6..7f03bed4 100644 --- a/4-Classification/4-Applied/CouisineMatcher.js +++ b/4-Classification/4-Applied/CouisineMatcher.js @@ -7,14 +7,11 @@ const checks = [...document.querySelectorAll('.checkbox')]; checks.forEach(check => { check.addEventListener('change', function() { - // toggle the state of the ingredient - // based on the checkbox's value (1 or 0) ingredients[check.value] = check.checked ? 1 : 0; }); }); function testCheckboxes() { - // validate if at least one checkbox is checked return checks.some(check => check.checked); } @@ -27,7 +24,6 @@ async function startInference() { return; } try { - // create a new session and load the model. const session = await ort.InferenceSession.create('./model.onnx');