|
|
|
@@ -783,6 +783,7 @@ func QueryModelFileForPredict(ctx *context.Context) { |
|
|
|
id := ctx.Query("ID") |
|
|
|
model, err := models.QueryModelById(id) |
|
|
|
if err == nil { |
|
|
|
log.Info("ddddddddddd") |
|
|
|
if model.Type == models.TypeCloudBrainTwo { |
|
|
|
prefix := model.Path[len(setting.Bucket)+1:] |
|
|
|
fileinfos, _ := storage.GetAllObjectByBucketAndPrefix(setting.Bucket, prefix) |
|
|
|
|