This commit is contained in:
ire 2025-01-25 11:08:57 +08:00
parent 988b9e99dd
commit 16d3bec0f1

View File

@ -112,14 +112,10 @@ public class AsyncModelServiceService {
"",
"float16", 1);
AigcRespVO aigcRespVO = trainHttpService.modelDeploy(new HashMap<>(), aigcModelDeploySaveReq);
if (aigcRespVO.isSuccess()){
updateObj.setStatus(1);
}else {
updateObj.setStatus(3);
}
updateObj.setStatus(1);
modelServiceMapper.updateById(updateObj);
}catch(Exception e){
updateObj.setStatus(3);
// updateObj.setStatus(3);
modelServiceMapper.updateById(updateObj);
};
}