From 51c8e31ca9cf97176c2f0d38247eb1500c85b2b3 Mon Sep 17 00:00:00 2001 From: adaxiadaxi <15704308458@163.com> Date: Tue, 21 Jul 2020 20:25:44 +0800 Subject: [PATCH] fix ci --- .../chinese_text_detection_db_mobile/module.py | 4 +++- .../chinese_text_detection_db_server/module.py | 4 +++- 2 files changed, 6 insertions(+), 2 deletions(-) diff --git a/hub_module/modules/image/text_recognition/chinese_text_detection_db_mobile/module.py b/hub_module/modules/image/text_recognition/chinese_text_detection_db_mobile/module.py index 67fca118..0ee5756f 100644 --- a/hub_module/modules/image/text_recognition/chinese_text_detection_db_mobile/module.py +++ b/hub_module/modules/image/text_recognition/chinese_text_detection_db_mobile/module.py @@ -48,7 +48,9 @@ class ChineseTextDetectionDB(hub.Module): try: import shapely, pyclipper except: - raise ImportError('This module requires the shapely, pyclipper tools. The running environment does not meet the requirements. Please install the two packages.') + raise ImportError( + 'This module requires the shapely, pyclipper tools. The running environment does not meet the requirements. Please install the two packages.' + ) def _set_config(self): """ diff --git a/hub_module/modules/image/text_recognition/chinese_text_detection_db_server/module.py b/hub_module/modules/image/text_recognition/chinese_text_detection_db_server/module.py index fd8d9c03..6c07144b 100644 --- a/hub_module/modules/image/text_recognition/chinese_text_detection_db_server/module.py +++ b/hub_module/modules/image/text_recognition/chinese_text_detection_db_server/module.py @@ -48,7 +48,9 @@ class ChineseTextDetectionDBServer(hub.Module): try: import shapely, pyclipper except: - raise ImportError('This module requires the shapely, pyclipper tools. The running environment does not meet the requirements. Please install the two packages.') + raise ImportError( + 'This module requires the shapely, pyclipper tools. The running environment does not meet the requirements. Please install the two packages.' + ) def _set_config(self): """ -- GitLab