#4350 微信通知:在线推理类型增加

Merged
ychao_1983 merged 2 commits from zouap_static into V20230531 10 months ago
  1. +5
    -2
      modules/auth/wechat/cloudbrain.go

+ 5
- 2
modules/auth/wechat/cloudbrain.go View File

@@ -1,11 +1,12 @@
package wechat

import (
"fmt"
"time"

"code.gitea.io/gitea/models"
"code.gitea.io/gitea/modules/log"
"code.gitea.io/gitea/modules/setting"
"fmt"
"time"
)

type JobOperateType string
@@ -157,6 +158,8 @@ func getJobTypeDisplayName(jobType string) string {
switch jobType {
case string(models.JobTypeDebug):
return "调试任务"
case string(models.JobTypeOnlineInference):
return "在线推理"
case string(models.JobTypeBenchmark):
return "评测任务"
case string(models.JobTypeTrain):


Loading…
Cancel
Save