Browse Source

fix issue

pull/2458/head
zhoupzh 3 years ago
parent
commit
45f1c71c94
1 changed files with 1 additions and 2 deletions
  1. +1
    -2
      templates/repo/modelarts/inferencejob/index.tmpl

+ 1
- 2
templates/repo/modelarts/inferencejob/index.tmpl View File

@@ -161,8 +161,7 @@
<div class="ui compact buttons">
{{$.CsrfTokenHtml}}
{{if .CanModify}}
{{.gpu_type}}
<a style="padding: 0.5rem 1rem;margin-left:0.2rem" id="model-download-{{.JobID}}" href="{{$.RepoLink}}/modelarts/inference-job/{{.JobID}}/downloadall?version_name={{.VersionName}}" class="ui basic blue button" style="border-radius: .28571429rem;">
<a style="padding: 0.5rem 1rem;margin-left:0.2rem" id="model-download-{{.JobID}}" href="{{$.RepoLink}}/{{if eq .Cloudbrain.Type 0 }}cloudbrain{{else}}modelarts{{end}}/inference-job/{{.JobID}}/downloadall?version_name={{.VersionName}}" class="ui basic blue button" style="border-radius: .28571429rem;">
{{$.i18n.Tr "repo.model_download"}}
</a>
{{else}}


Loading…
Cancel
Save