From 490a263732070f8a2a6882ea5d9ffcc56d3d9717 Mon Sep 17 00:00:00 2001 From: Zarathushtra Date: Sun, 14 Sep 2025 12:21:27 +0545 Subject: [PATCH 1/2] 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 f7c837c6e..7f03bed4a 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'); From 896a6aecd26f2ac25fdf8c2c0c31ddbc0b2d8b37 Mon Sep 17 00:00:00 2001 From: Zarathushtra Date: Sun, 14 Sep 2025 12:27:46 +0545 Subject: [PATCH 2/2] change --- 4-Classification/4-Applied/index.html | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/4-Classification/4-Applied/index.html b/4-Classification/4-Applied/index.html index 3e508122c..b9b8726ec 100644 --- a/4-Classification/4-Applied/index.html +++ b/4-Classification/4-Applied/index.html @@ -6,7 +6,7 @@ - +