Browse Source

show description

tags/v1.22.2.2^2
lewis 3 years ago
parent
commit
11af64fda3
2 changed files with 5 additions and 0 deletions
  1. +1
    -0
      modules/modelarts/modelarts.go
  2. +4
    -0
      templates/repo/modelarts/notebook/show.tmpl

+ 1
- 0
modules/modelarts/modelarts.go View File

@@ -307,6 +307,7 @@ func GenerateNotebook2(ctx *context.Context, jobName, uuid, description, flavor,
Uuid: uuid,
ComputeResource: models.NPUResource,
Image: imageName,
Description: description,
})

if err != nil {


+ 4
- 0
templates/repo/modelarts/notebook/show.tmpl View File

@@ -35,6 +35,10 @@
<td class="four wide"> 状态 </td>
<td> {{.Status}} </td>
</tr>
<tr>
<td> 描述 </td>
<td style="max-width: 480px; word-wrap:break-word">{{$.task.Description}}</td>
</tr>
<tr>
<td> 镜像名称 </td>
<td>{{$.task.Image}}</td>


Loading…
Cancel
Save