|
|
@@ -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) |
|
|
|