From 5a83e7ee3f9e4e588fef2ba2fd19b306d25e6bcc Mon Sep 17 00:00:00 2001 From: wangjiawei04 Date: Tue, 8 Dec 2020 13:33:46 +0000 Subject: [PATCH] fix cpu webservice --- python/paddle_serving_server/web_service.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/python/paddle_serving_server/web_service.py b/python/paddle_serving_server/web_service.py index 18e6664e..539c613d 100644 --- a/python/paddle_serving_server/web_service.py +++ b/python/paddle_serving_server/web_service.py @@ -189,7 +189,7 @@ class WebService(object): from paddle_serving_app.local_predict import LocalPredictor self.client = LocalPredictor() self.client.load_model_config( - "{}".format(self.model_config), gpu=False, profile=False) + "{}".format(self.model_config), use_gpu=False) def run_web_service(self): print("This API will be deprecated later. Please do not use it") -- GitLab