From 76f4b018e0a5ffe7aafd7a836e56b10013410b75 Mon Sep 17 00:00:00 2001 From: Dragon Fire Date: Mon, 22 Mar 2021 21:44:49 -0400 Subject: [PATCH] Fix --- util/Util.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/util/Util.js b/util/Util.js index 7a7b1b86..9f65b751 100644 --- a/util/Util.js +++ b/util/Util.js @@ -225,7 +225,7 @@ module.exports = class Util { results.push(predictions[0]); for (const result of predictions) { if (result.className === predictions[0].className) continue; - if (result.probability >= predictions[0].probability - 5) results.push(result); + if (result.probability >= predictions[0].probability - 0.05) results.push(result); } return bool ? results.some(result => result.className !== 'Drawing' && result.className !== 'Neutral')