Browse Source

readme 文件信息通用

tags/v1.22.8.1^2
ychao_1983 3 years ago
parent
commit
f5cfc18ee5
1 changed files with 1 additions and 5 deletions
  1. +1
    -5
      routers/repo/cloudbrain.go

+ 1
- 5
routers/repo/cloudbrain.go View File

@@ -1689,11 +1689,7 @@ func uploadCodeToMinio(codePath, jobName, parentDir string) error {
}

func mkModelPath(modelPath string) error {
return mkPathAndReadMeFile(modelPath, "You can put the model file into this directory and download it by the web page.")
}

func mkResultPath(resultPath string) error {
return mkPathAndReadMeFile(resultPath, "You can put the result file into this directory and download it by the web page.")
return mkPathAndReadMeFile(modelPath, "You can put the files into this directory and download the files by the web page.")
}

func mkPathAndReadMeFile(path string, text string) error {


Loading…
Cancel
Save