|
|
|
@@ -1021,6 +1021,7 @@ func RegisterRoutes(m *macaron.Macaron) { |
|
|
|
m.Delete("/delete_model", repo.DeleteModel) |
|
|
|
m.Get("/downloadall", repo.DownloadModel) |
|
|
|
m.Get("/query_model_byId", repo.QueryModelById) |
|
|
|
m.Get("/query_model_byName", repo.QueryModelByName) |
|
|
|
m.Get("/query_model_for_predict", repo.QueryModelListForPredict) |
|
|
|
m.Get("/query_modelfile_for_predict", repo.QueryModelFileForPredict) |
|
|
|
m.Get("/query_train_model", repo.QueryTrainModelList) |
|
|
|
@@ -1028,6 +1029,7 @@ func RegisterRoutes(m *macaron.Macaron) { |
|
|
|
m.Post("/convert_stop", repo.StopModelConvert) |
|
|
|
m.Get("/show_model_convert_page", repo.ShowModelConvertPage) |
|
|
|
m.Get("/query_model_convert_byId", repo.QueryModelConvertById) |
|
|
|
m.Get("/query_model_convert_byName", repo.QueryModelConvertByName) |
|
|
|
|
|
|
|
m.Get("/:id", repo.GetCloudbrainModelConvertTask) |
|
|
|
m.Get("/:id/log", repo.CloudbrainForModelConvertGetLog) |
|
|
|
|