Skip to content

Commit

Permalink
fix #668
Browse files Browse the repository at this point in the history
  • Loading branch information
zyddnys committed Jul 21, 2024
1 parent 6a00f74 commit 47bea86
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion manga_translator/ocr/model_48px.py
Original file line number Diff line number Diff line change
Expand Up @@ -63,7 +63,7 @@ async def _load(self, device: str):
async def _unload(self):
del self.model

async def _infer(self, image: np.ndarray, textlines: List[Quadrilateral], verbose: bool = False, ignore_bubble: int = 0) -> List[TextBlock]:
async def _infer(self, image: np.ndarray, textlines: List[Quadrilateral], args: dict, verbose: bool = False, ignore_bubble: int = 0) -> List[TextBlock]:
text_height = 48
max_chunk_size = 16

Expand Down

0 comments on commit 47bea86

Please sign in to comment.