0.1.7 release
This commit is contained in:
@@ -1,3 +1,3 @@
|
|||||||
__version__ = '0.1.5'
|
__version__ = '0.1.7'
|
||||||
|
|
||||||
from manga_ocr.ocr import MangaOcr
|
from manga_ocr.ocr import MangaOcr
|
||||||
|
|||||||
@@ -21,7 +21,10 @@ class MangaOcr:
|
|||||||
else:
|
else:
|
||||||
logger.info('Using CPU')
|
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')
|
logger.info('OCR ready')
|
||||||
|
|
||||||
|
|||||||
2
setup.py
2
setup.py
@@ -5,7 +5,7 @@ long_description = (Path(__file__).parent / "README.md").read_text('utf-8').spli
|
|||||||
|
|
||||||
setup(
|
setup(
|
||||||
name="manga-ocr",
|
name="manga-ocr",
|
||||||
version='0.1.5',
|
version='0.1.7',
|
||||||
description="OCR for Japanese manga",
|
description="OCR for Japanese manga",
|
||||||
long_description=long_description,
|
long_description=long_description,
|
||||||
long_description_content_type="text/markdown",
|
long_description_content_type="text/markdown",
|
||||||
|
|||||||
Reference in New Issue
Block a user