推理完成输出图像变更
This commit is contained in:
@@ -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)
|
||||
})
|
||||
|
Reference in New Issue
Block a user