|
|
@@ -259,7 +259,7 @@ func DownloadMultiModelFile(ctx *context.Context) { |
|
|
|
|
|
|
|
func QueryTrainJobList(ctx *context.Context) { |
|
|
|
log.Info("query train job list. start.") |
|
|
|
repoId := ctx.Query("repoId") |
|
|
|
repoId := ctx.QueryInt64("repoId") |
|
|
|
|
|
|
|
VersionListTasks, VersionListCount, err := models.CloudbrainsVersionList(&models.CloudbrainsOptions{ |
|
|
|
ListOptions: models.ListOptions{ |
|
|
@@ -272,7 +272,7 @@ func QueryTrainJobList(ctx *context.Context) { |
|
|
|
JobID: "", |
|
|
|
}) |
|
|
|
|
|
|
|
ctx.Json(200, VersionListTasks) |
|
|
|
ctx.JSON(200, VersionListTasks) |
|
|
|
} |
|
|
|
|
|
|
|
func DownloadSingleModelFile(ctx *context.Context) { |
|
|
|