Fix mangaocr
This commit is contained in:
1 parent
e0e3249e91
commit
4150d8ba45
2 files changed
+2
-2
No files matched your search
+1
-1
@@ -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()
|
||||
|
||||
+1
-1
@@ -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