|
|
|
@@ -1095,6 +1095,7 @@ func RegisterRoutes(m *macaron.Macaron) { |
|
|
|
m.Get("/query_model_for_predict", reqRepoCloudBrainReader, repo.QueryModelListForPredict) |
|
|
|
m.Get("/query_modelfile_for_predict", reqRepoCloudBrainReader, repo.QueryModelFileForPredict) |
|
|
|
m.Get("/query_onelevel_modelfile", reqRepoCloudBrainReader, repo.QueryOneLevelModelFile) |
|
|
|
m.Get("/download_model_convert", reqRepoCloudBrainReader, repo.CloudBrainDownloadModel) |
|
|
|
m.Group("/:ID", func() { |
|
|
|
m.Get("", repo.ShowSingleModel) |
|
|
|
m.Get("/downloadsingle", repo.DownloadSingleModelFile) |
|
|
|
|