diff --git a/routers/repo/grampus.go b/routers/repo/grampus.go index c69654c81..2c3d76a09 100755 --- a/routers/repo/grampus.go +++ b/routers/repo/grampus.go @@ -649,7 +649,7 @@ func generateCommand(repoName, processorType, codeRemotePath, dataRemotePath, bo } } - commandCode := "cd /cache/code/" + strings.ToLower(repoName) + ";/usr/bin/python3 " + bootFile + paramCode + ";" + commandCode := "cd /cache/code/" + strings.ToLower(repoName) + ";python " + bootFile + paramCode + ";" command += commandCode //get exec result diff --git a/templates/user/dashboard/cloudbrains.tmpl b/templates/user/dashboard/cloudbrains.tmpl old mode 100644 new mode 100755 index 3c16bad04..81dd0dbae --- a/templates/user/dashboard/cloudbrains.tmpl +++ b/templates/user/dashboard/cloudbrains.tmpl @@ -94,7 +94,7 @@ {{else if eq .JobType "TRAIN"}} {{.DisplayJobName}}