diff --git a/python/paddle_serving_server_gpu/serve.py b/python/paddle_serving_server_gpu/serve.py index 5d9d96d517d64b21313fda0b44a83b34142b014b..c563839923763139bbdd53a32d5649439223be6d 100644 --- a/python/paddle_serving_server_gpu/serve.py +++ b/python/paddle_serving_server_gpu/serve.py @@ -91,6 +91,7 @@ if __name__ == "__main__": if args.name == "None": start_multi_card(args) else: + from .web_service import WebService web_service = WebService(name=args.name) web_service.load_model_config(args.model) gpu_ids = []