diff --git a/routers/repo/aisafety.go b/routers/repo/aisafety.go index f7b1c4201..de41f05a8 100644 --- a/routers/repo/aisafety.go +++ b/routers/repo/aisafety.go @@ -353,7 +353,6 @@ func queryTaskStatusFromModelSafetyTestServer(job *models.Cloudbrain) { if err != nil { log.Error("UpdateJob failed:", err) } - } } } else { diff --git a/templates/repo/modelsafety/new.tmpl b/templates/repo/modelsafety/new.tmpl index 3861cf01b..4472a310c 100644 --- a/templates/repo/modelsafety/new.tmpl +++ b/templates/repo/modelsafety/new.tmpl @@ -237,7 +237,7 @@ - {{.i18n.Tr "cloudbrain.view_sample"}} + {{.i18n.Tr "cloudbrain.view_sample"}}