diff --git a/templates/repo/grampus/notebook/show.tmpl b/templates/repo/grampus/notebook/show.tmpl index 58e9bc14d..2b2c88bf5 100644 --- a/templates/repo/grampus/notebook/show.tmpl +++ b/templates/repo/grampus/notebook/show.tmpl @@ -380,7 +380,30 @@ {{end}} - + {{if eq .ComputeResource "NPU"}} + + + + + + + + + + + + + + + +
{{$.i18n.Tr "dataset.file"}}{{$.i18n.Tr "dataset.download_url"}}{{$.i18n.Tr "dataset.download_oper"}}
+ {{if eq $.modelDownload.IsDelete true}} + {{$.modelDownload.Name}}({{$.i18n.Tr "dataset.file_deleted"}}) + {{else}} + {{$.modelDownload.Name}} + {{end}} +
{{$.modelDownload.DownloadLink}}
{{if $.modelDownload.DownloadLink}}{{$.i18n.Tr "dataset.download_copy"}}{{end}}
+ {{end}} diff --git a/templates/repo/modelarts/notebook/show.tmpl b/templates/repo/modelarts/notebook/show.tmpl index 243d5a9cd..54b82e494 100755 --- a/templates/repo/modelarts/notebook/show.tmpl +++ b/templates/repo/modelarts/notebook/show.tmpl @@ -232,7 +232,7 @@ {{if eq .IsDelete true}} {{.DatasetName}}({{$.i18n.Tr "dataset.file_deleted"}}) {{else}} - {{.DatasetName}} + {{.DatasetName}} {{end}}
{{.DatasetDownloadLink}}