diff --git a/templates/repo/modelsafety/show.tmpl b/templates/repo/modelsafety/show.tmpl index dfd1bd5b9..a46077443 100644 --- a/templates/repo/modelsafety/show.tmpl +++ b/templates/repo/modelsafety/show.tmpl @@ -861,7 +861,8 @@ $('td.ti-text-form-content.spec div').text(specStr); SPEC && $('td.ti-text-form-content.resorce_type div').text(getListValueWithKey(ACC_CARD_TYPE, SPEC.AccCardType)); } - var oLogHref = $('#-log-down').attr('href'); + var repoPath = {{$.RepoRelPath}}; + var oLogHref = `/api/v1/repos/${repoPath}/cloudbrain`; $('#-log-down').attr('href', oLogHref + `/${res.ID}/download_log_file`); $('.full-log-dialog').attr('data-href', oLogHref + `/${res.ID}/download_log_file`); if (res.ResultJson) { diff --git a/web_src/vuepages/langs/config/en-US.js b/web_src/vuepages/langs/config/en-US.js index bcd1cfe43..6ea201cb2 100644 --- a/web_src/vuepages/langs/config/en-US.js +++ b/web_src/vuepages/langs/config/en-US.js @@ -187,7 +187,7 @@ const en = { onlyFace:'Only face', onlyLicensePlate:'Only license plate', dragThePictureHere:'Drag the picture here', - or:'or', + or:' or ', clickUpload:'Click upload', dataDesensitizationModelExperience:'Data desensitization model experience', dataDesensitizationModelDesc:'Use AI technology to desensitize the face and license plate number in the picture. For more information about this model, please visit the project', diff --git a/web_src/vuepages/pages/model/tuomin/index.vue b/web_src/vuepages/pages/model/tuomin/index.vue index 6c7813977..f97787198 100644 --- a/web_src/vuepages/pages/model/tuomin/index.vue +++ b/web_src/vuepages/pages/model/tuomin/index.vue @@ -33,11 +33,9 @@ drag >
- {{ $t("dragThePictureHere") - }}{{ - $t("or") - }}{{ $t("clickUpload") }} + + {{ $t("dragThePictureHere") }}{{ $t("or") }}{{ $t("clickUpload") }} +