summarylogtreecommitdiffstats
path: root/skip-example-run-on-boot.patch
blob: ab74c475079c127c93246ae0d3a0ae6a0e59e7c5 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
--- manga_ocr/ocr.py
+++ manga_ocr/ocr-patched.py
@@ -27,10 +27,10 @@
         else:
             logger.info("Using CPU")
 
-        example_path = Path(__file__).parent / "assets/example.jpg"
-        if not example_path.is_file():
-            raise FileNotFoundError(f"Missing example image {example_path}")
-        self(example_path)
+        # example_path = Path(__file__).parent / "assets/example.jpg"
+        # if not example_path.is_file():
+        #     raise FileNotFoundError(f"Missing example image {example_path}")
+        # self(example_path)
 
         logger.info("OCR ready")