diff --git a/python/paddle_serving_server_gpu/web_service.py b/python/paddle_serving_server_gpu/web_service.py index 3081f15fe4e5635b5ea54c674adf00f6c5f9b40b..25e3a315dd5b848c77b9533a974d7707e5b67991 100755 --- a/python/paddle_serving_server_gpu/web_service.py +++ b/python/paddle_serving_server_gpu/web_service.py @@ -115,7 +115,7 @@ class WebService(object): elif isinstance(feed, dict): if "fetch" in feed: del feed["fetch"] - fetch_map = self.client_service.predict(feed=feed, fetch=fetch) + fetch_map = self.client.predict(feed=feed, fetch=fetch) result = self.postprocess( feed=request.json, fetch=fetch, fetch_map=fetch_map) except ValueError: