From 8c0fbea58841fab054dc2eafb9e450640b8ce640 Mon Sep 17 00:00:00 2001 From: zouap Date: Wed, 12 Oct 2022 11:13:11 +0800 Subject: [PATCH] =?UTF-8?q?=E6=8F=90=E4=BA=A4=E4=BB=A3=E7=A0=81=E3=80=82?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: zouap --- routers/repo/aisafety.go | 1 - templates/repo/modelsafety/new.tmpl | 2 +- 2 files changed, 1 insertion(+), 2 deletions(-) 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"}}