SohomToom commited on
Commit
5d3dc3d
·
verified ·
1 Parent(s): e95835d

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -234,7 +234,7 @@ def sample_border_color(image, box, padding=2):
234
 
235
  def detect_text_boxes(image):
236
  # results = ocr.predict(image)
237
- results= ocr.ocr(image)
238
  boxes = []
239
 
240
  if not results:
 
234
 
235
  def detect_text_boxes(image):
236
  # results = ocr.predict(image)
237
+ results= ocr.predict(image)
238
  boxes = []
239
 
240
  if not results: