change log message
This commit is contained in:
1 parent
ffdcd7226d
commit
60f5fecc63
1 file changed
+1
-1
+1
-1
@@ -34,7 +34,7 @@ class MangaOcr:
|
||||
elif isinstance(img_or_path, Image.Image):
|
||||
img = img_or_path
|
||||
else:
|
||||
raise ValueError(f'Invalid value of img_or_path: {img_or_path}')
|
||||
raise ValueError(f'img_or_path must be a path or PIL.Image, instead got: {img_or_path}')
|
||||
|
||||
img = img.convert('L').convert('RGB')
|
||||
|
||||
|
||||
Reference in new issue
Block a user