This commit is contained in:
wang 2024-07-13 13:32:46 +08:00
parent 7a3a519e90
commit 04f132080e
2 changed files with 2 additions and 1 deletions

View File

@ -133,7 +133,7 @@ function Operation2() {
operateID
})
const result=detectionSrc.data['result']
if(result==='NO'){
if(result.includes('NO')){
alert('连接失败')
setTrainScore(0)
}else{

View File

@ -1,6 +1,7 @@
import json
import traceback
import dmPython.dmPython
import yaml
from kubernetes import client, config
from flask import jsonify