Browse Source

增加打印。

Signed-off-by: zouap <zouap@pcl.ac.cn>
pull/3035/head
zouap 2 years ago
parent
commit
c1de119baa
1 changed files with 1 additions and 1 deletions
  1. +1
    -1
      routers/repo/aisafety.go

+ 1
- 1
routers/repo/aisafety.go View File

@@ -22,7 +22,7 @@ func CloudBrainAiSafetyCreateTest(ctx *context.Context) {
log.Info("start to create CloudBrainAiSafetyCreate")
//jobType := ctx.Query("jobType")
//if jobType == string(models.JobTypeBenchmark) {
jsonMap, err := getJsonContent("http://192.168.207.34:8065/Test_zap1234/openi_aisafety/src/branch/master/result/0301.json")
jsonMap, err := getJsonContent("http://192.168.207.34:8065/Test_zap1234/openi_aisafety/raw/branch/master/result/0301.json")
if err == nil {
aisafety.GetAlgorithmList()
aisafety.CreateSafetyTask("test", jsonMap)


Loading…
Cancel
Save