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}} | +