Commit fe703183 authored by PiDanShouRouZhouXD's avatar PiDanShouRouZhouXD
Browse files

minor fix

parent 812a82f2
Loading
Loading
Loading
Loading
+1 −0
Original line number Diff line number Diff line
@@ -125,6 +125,7 @@ class StariverDetector(TextDetectorBase):
    
    def __init__(self, **params) -> None:
        self.url = 'https://dl.ap-sh.starivercs.cn/v2/manga_trans/advanced/manga_ocr'
        self.name = 'StariverDetector'

    def detect(self, img: np.ndarray) -> Tuple[np.ndarray, List[TextBlock]]:
        if not self.token or self.token == 'Replace with your token':