ken4 commited on
Commit
0a67fea
·
verified ·
1 Parent(s): 5333694

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -8,7 +8,7 @@ from io import BytesIO
8
 
9
  app = FastAPI(title="OCR API", description="OCR through URL or Buffer")
10
 
11
- reader = easyocr.Reader(['en', 'id'], gpu=False)
12
 
13
  def run_ocr(image_bytes):
14
  img = Image.open(BytesIO(image_bytes)).convert("RGB")
 
8
 
9
  app = FastAPI(title="OCR API", description="OCR through URL or Buffer")
10
 
11
+ reader = easyocr.Reader(['en'], gpu=False)
12
 
13
  def run_ocr(image_bytes):
14
  img = Image.open(BytesIO(image_bytes)).convert("RGB")