From 85129ec8cce3f92572488336a1e7e7c4f60cecb7 Mon Sep 17 00:00:00 2001 From: kim jeong yong Date: Tue, 14 Oct 2025 11:47:24 +0900 Subject: [PATCH] =?UTF-8?q?AILearning=20=ED=81=B4=EB=9E=98=EC=8A=A4?= =?UTF-8?q?=EC=9D=98=20modelInfo=EC=97=90=20=EB=8C=80=ED=95=9C=20=EC=9C=A0?= =?UTF-8?q?=ED=9A=A8=EC=84=B1=20=EA=B2=80=EC=82=AC=EB=A5=BC=20=EC=B6=94?= =?UTF-8?q?=EA=B0=80=ED=95=98=EC=97=AC=20=EB=B9=88=20=EA=B2=BD=EC=9A=B0?= =?UTF-8?q?=EB=A5=BC=20=EC=B2=98=EB=A6=AC=ED=95=98=EA=B3=A0=20=EC=98=A4?= =?UTF-8?q?=EB=A5=98=EB=A5=BC=20=EB=B0=A9=EC=A7=80=ED=96=88=EC=8A=B5?= =?UTF-8?q?=EB=8B=88=EB=8B=A4.?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/class/AILearning.js | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/src/class/AILearning.js b/src/class/AILearning.js index 8493bada41..ef33aa09ff 100644 --- a/src/class/AILearning.js +++ b/src/class/AILearning.js @@ -23,6 +23,7 @@ import blockAiLearningDecisiontree from '../playground/blocks/block_ai_learning_ import blockAiLearningSvm from '../playground/blocks/block_ai_learning_svm'; import blockAiUtilizeMediaPipe from '../playground/blocks/block_ai_utilize_media_pipe'; import InputPopup from './learning/InputPopup'; +import _isEmpty from 'lodash/isEmpty'; Entry.MlPopup = InputPopup; const basicBlockList = [ @@ -243,6 +244,9 @@ export default class AILearning { if (!this.#dataApi) { console.log('there is no dataApi'); return; + } else if (_isEmpty(modelInfo)) { + console.log('empty modelInfo'); + return; } this.destroy();