summarylogtreecommitdiffstats
path: root/skip-example-run-on-boot.patch
blob: 265825357632432ace7a57e1b2fc6ff09ebdde3d (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
--- manga_ocr/ocr.py	2023-01-22 09:41:16.542263593 +1100
+++ manga_ocr/ocr.py-patched	2023-01-22 09:41:26.878835597 +1100
@@ -21,11 +21,6 @@
         else:
             logger.info('Using CPU')
 
-        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')
 
     def __call__(self, img_or_path):