|
|
|
@@ -1093,7 +1093,7 @@ func RegisterRoutes(m *macaron.Macaron) { |
|
|
|
}) |
|
|
|
m.Group("/gpu", func() { |
|
|
|
m.Get("/create", reqWechatBind, reqRepoCloudBrainWriter, repo.GrampusTrainJobGPUNew) |
|
|
|
//m.Post("/create", reqWechatBind, reqRepoCloudBrainWriter, bindIgnErr(auth.CreateCloudBrainForm{}), repo.GrampusTrainJobCreate) |
|
|
|
m.Post("/create", reqWechatBind, reqRepoCloudBrainWriter, bindIgnErr(auth.CreateCloudBrainForm{}), repo.GrampusTrainJobCreate) |
|
|
|
}) |
|
|
|
m.Group("/npu", func() { |
|
|
|
m.Get("/create", reqWechatBind, reqRepoCloudBrainWriter, repo.GrampusTrainJobNPUNew) |
|
|
|
|