Browse Source

fix issue

tags/v1.22.8.2^2
zhoupzh 3 years ago
parent
commit
4086db8b6c
2 changed files with 2 additions and 1 deletions
  1. +1
    -0
      templates/custom/wait_count.tmpl
  2. +1
    -1
      templates/custom/wait_count_train.tmpl

+ 1
- 0
templates/custom/wait_count.tmpl View File

@@ -2,6 +2,7 @@
{{$queue := ""}}
{{$gpuQueue := 0}}
{{range $k,$v :=.gpu_types}}
{{ $v }}
{{if eq $k 0}}
{{ $queue = $v.Queue }}
{{ end }}


+ 1
- 1
templates/custom/wait_count_train.tmpl View File

@@ -18,7 +18,7 @@
></i>
<span id="gpu-nums" style="font-size: 12px"
>{{.ctx.i18n.Tr "repo.wait_count_start"}}
{{if .type}}
{{if .ctx.QueuesDetail}}
{{ $gpuQueue }}
{{else}}
{{.ctx.WaitCount}}


Loading…
Cancel
Save