From f800b902e8a73ee473d7616a2bc96ff7b22d0628 Mon Sep 17 00:00:00 2001 From: ShenYuhan Date: Tue, 18 Feb 2020 11:38:53 +0800 Subject: [PATCH] fix ci --- paddlehub/serving/app_single.py | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/paddlehub/serving/app_single.py b/paddlehub/serving/app_single.py index ab4bcf71..0b05af4a 100644 --- a/paddlehub/serving/app_single.py +++ b/paddlehub/serving/app_single.py @@ -149,7 +149,10 @@ def predict_mask(module, input_img, id, batch_size, extra=None, r_img=True): data.update(extra) r_img = False if "r_img" in extra.keys() else True results = predict_method( - data=data, visualization=r_img, use_gpu=use_gpu, batch_size=batch_size) + data=data, + visualization=r_img, + use_gpu=use_gpu, + batch_size=batch_size) results = utils.handle_mask_results(results) except Exception as err: curr = time.strftime("%Y-%m-%d %H:%M:%S", time.localtime(time.time())) -- GitLab