diff --git a/python/paddle_serving_server/web_service.py b/python/paddle_serving_server/web_service.py index 18e6664edbfd486bb0156ecc58232795f16d74bb..539c613d40af7c1f6824fc03ce3733c942816318 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")