提交 51c8e31c 编写于 作者: A adaxiadaxi

fix ci

上级 b84aab3b
...@@ -48,7 +48,9 @@ class ChineseTextDetectionDB(hub.Module): ...@@ -48,7 +48,9 @@ class ChineseTextDetectionDB(hub.Module):
try: try:
import shapely, pyclipper import shapely, pyclipper
except: 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): def _set_config(self):
""" """
......
...@@ -48,7 +48,9 @@ class ChineseTextDetectionDBServer(hub.Module): ...@@ -48,7 +48,9 @@ class ChineseTextDetectionDBServer(hub.Module):
try: try:
import shapely, pyclipper import shapely, pyclipper
except: 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): def _set_config(self):
""" """
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册