Spaces:
Running
Running
configured for CPU
Browse files
app.py
CHANGED
@@ -6,7 +6,7 @@ from IndicPhotoOCR.theme import Seafoam
|
|
6 |
from IndicPhotoOCR.utils.helper import detect_para
|
7 |
|
8 |
# Initialize the OCR object for text detection and recognition
|
9 |
-
ocr = OCR(verbose=False)
|
10 |
|
11 |
def process_image(image):
|
12 |
"""
|
|
|
6 |
from IndicPhotoOCR.utils.helper import detect_para
|
7 |
|
8 |
# Initialize the OCR object for text detection and recognition
|
9 |
+
ocr = OCR(device="cpu", verbose=False)
|
10 |
|
11 |
def process_image(image):
|
12 |
"""
|