function thresholdUpdate()

in src/js/app.js [241:245]


function thresholdUpdate() {
  let val = thresholdSlider.value;
  thresholdLabel.innerHTML = `Confidence Threshold: ${val}%`;
  if (predictions && predictions.length > 0) applyPredictionsToImage()
}