Fix mangaocr
This commit is contained in:
@@ -389,7 +389,7 @@ class MangaOcr:
|
||||
if not img:
|
||||
return (False, 'Invalid image provided')
|
||||
|
||||
x = (True, self.model(img))
|
||||
x = (True, [self.model(img)])
|
||||
|
||||
if is_path:
|
||||
img.close()
|
||||
|
||||
@@ -4,7 +4,7 @@ build-backend = "setuptools.build_meta"
|
||||
|
||||
[project]
|
||||
name = "owocr"
|
||||
version = "1.18.3"
|
||||
version = "1.18.4"
|
||||
description = "Japanese OCR"
|
||||
readme = "README.md"
|
||||
requires-python = ">=3.11"
|
||||
|
||||
Reference in New Issue
Block a user