图像信息
This commit is contained in:
@@ -201,6 +201,8 @@ func (model *Model) Inference(image_list []Image, callback func(Image)) {
|
|||||||
image_list[index].Width = 512
|
image_list[index].Width = 512
|
||||||
image_list[index].Height = 512
|
image_list[index].Height = 512
|
||||||
image_list[index].Format = "webp"
|
image_list[index].Format = "webp"
|
||||||
|
image_list[index].Status = "success"
|
||||||
|
image_list[index].Progress = 100
|
||||||
callback(image_list[index])
|
callback(image_list[index])
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Reference in New Issue
Block a user