Upload handler.py
Browse files- handler.py +1 -1
handler.py
CHANGED
@@ -9,7 +9,7 @@ class EndpointHandler():
|
|
9 |
def __init__(self, path=""):
|
10 |
|
11 |
self.pipeline = PaddleOCR(lang="en",ocr_version="PP-OCRv4",
|
12 |
-
show_log = False,use_gpu=
|
13 |
det_model_dir=path,
|
14 |
cls_model_dir=path,
|
15 |
rec_model_dir=path
|
|
|
9 |
def __init__(self, path=""):
|
10 |
|
11 |
self.pipeline = PaddleOCR(lang="en",ocr_version="PP-OCRv4",
|
12 |
+
show_log = False,use_gpu=False,
|
13 |
det_model_dir=path,
|
14 |
cls_model_dir=path,
|
15 |
rec_model_dir=path
|