diff --git a/options/locale/locale_en-US.ini b/options/locale/locale_en-US.ini index 812800f96..09647f651 100755 --- a/options/locale/locale_en-US.ini +++ b/options/locale/locale_en-US.ini @@ -3270,3 +3270,4 @@ evaluation_result = Evaluation Result no_data = No Data untargetted = Untargetted targetted = targetted +new_model_security_evaluation_tips = Model Security Evaluation just used for image classification diff --git a/options/locale/locale_zh-CN.ini b/options/locale/locale_zh-CN.ini index 1b385d123..806f92273 100755 --- a/options/locale/locale_zh-CN.ini +++ b/options/locale/locale_zh-CN.ini @@ -3289,3 +3289,4 @@ evaluation_result = 评测结果 no_data = 无数据 untargetted = 非定向 targetted = 定向 +new_model_security_evaluation_tips = 模型安全评测只适用于图像分类 diff --git a/templates/repo/modelsafety/new.tmpl b/templates/repo/modelsafety/new.tmpl index 9a7def09c..d95f4d8f7 100644 --- a/templates/repo/modelsafety/new.tmpl +++ b/templates/repo/modelsafety/new.tmpl @@ -41,6 +41,13 @@ .v-middle { vertical-align: middle; } + + .label-required:after { + margin: -0.2em 0 0 0.2em; + content: '*'; + color: #db2828; + visibility: visible !important; + } {{template "custom/global_mask" .}}
@@ -111,6 +118,15 @@ {{template "custom/task_wait_count" .}}
+
+ +
+
+ + {{.i18n.Tr "modelsafety.new_model_security_evaluation_tips"}} +
+
+
-