|
|
@@ -985,6 +985,8 @@ func RegisterRoutes(m *macaron.Macaron) { |
|
|
|
m.Get("/show_model_child_api", repo.ShowOneVersionOtherModel) |
|
|
|
m.Get("/query_train_job", reqRepoCloudBrainReader, repo.QueryTrainJobList) |
|
|
|
m.Get("/query_train_job_version", reqRepoCloudBrainReader, repo.QueryTrainJobVersionList) |
|
|
|
m.Get("/query_model_for_predict", reqRepoCloudBrainReader, repo.QueryModelListForPredict) |
|
|
|
m.Get("/query_modelfile_for_predict", reqRepoCloudBrainReader, repo.QueryModelFileForPredict) |
|
|
|
m.Group("/:ID", func() { |
|
|
|
m.Get("", repo.ShowSingleModel) |
|
|
|
m.Get("/downloadsingle", repo.DownloadSingleModelFile) |
|
|
|