0.1.7 release

This commit is contained in:
Maciej Budyś
2022-03-09 21:32:44 +01:00
parent 2d58639c3f
commit 1a23578692
3 changed files with 6 additions and 3 deletions

View File

@@ -1,3 +1,3 @@
__version__ = '0.1.5'
__version__ = '0.1.7'
from manga_ocr.ocr import MangaOcr

View File

@@ -21,7 +21,10 @@ class MangaOcr:
else:
logger.info('Using CPU')
self(Path(__file__).parent.parent / 'assets/example.jpg')
example_path = Path(__file__).parent / 'assets/example.jpg'
if not example_path.is_file():
example_path = Path(__file__).parent.parent / 'assets/example.jpg'
self(example_path)
logger.info('OCR ready')