推理完成输出图像变更

This commit is contained in:
2023-06-22 01:28:26 +08:00
parent c219e554e2
commit 89801bed84

View File

@@ -173,7 +173,7 @@ func ImagesPost(w http.ResponseWriter, r *http.Request) {
}
// 推理图像
go model.Inference([]models.Image{}, func(img models.Image) {
go model.Inference(image_list, func(img models.Image) {
log.Println("推理完成")
images_websocket_manager.NotifyTaskChange(task, img)
})