From 89b28972ef36a9d84c05e675923e784cc7a70de0 Mon Sep 17 00:00:00 2001 From: gongweibao Date: Mon, 22 Jun 2020 03:37:18 +0000 Subject: [PATCH] follow comments test=develop --- python/paddle_serving_server/web_service.py | 2 +- python/paddle_serving_server_gpu/web_service.py | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/python/paddle_serving_server/web_service.py b/python/paddle_serving_server/web_service.py index 8f859c2c..ea43c8cb 100755 --- a/python/paddle_serving_server/web_service.py +++ b/python/paddle_serving_server/web_service.py @@ -122,7 +122,7 @@ class WebService(object): processes=1) def get_app_instance(self): - return app_instance + return self.app_instance def preprocess(self, feed=[], fetch=[]): return feed, fetch diff --git a/python/paddle_serving_server_gpu/web_service.py b/python/paddle_serving_server_gpu/web_service.py index 4c887f0e..0eff9c72 100644 --- a/python/paddle_serving_server_gpu/web_service.py +++ b/python/paddle_serving_server_gpu/web_service.py @@ -171,7 +171,7 @@ class WebService(object): processes=1) def get_app_instance(self): - return app_instance + return self.app_instance def preprocess(self, feed=[], fetch=[]): return feed, fetch -- GitLab