|
|
|
@@ -892,7 +892,7 @@ func RegisterRoutes(m *macaron.Macaron) { |
|
|
|
m.Get("/log", repo.TrainJobGetLog) |
|
|
|
m.Post("/del_version", repo.DelTrainJobVersion) |
|
|
|
m.Post("/stop_version", repo.StopTrainJobVersion) |
|
|
|
m.Get("/model_list", repo.ResultList) |
|
|
|
m.Get("/result_list", repo.ResultList) |
|
|
|
}) |
|
|
|
}) |
|
|
|
}, reqRepoReader(models.UnitTypeCloudBrain)) |
|
|
|
|