hantech commited on
Commit
fa8925c
·
verified ·
1 Parent(s): 7a6034d

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -54,7 +54,7 @@ def predict(filepath):
54
 
55
 
56
 
57
- cropped_image = img[min_y:max_y,min_x:max_x] # crop the image
58
  cropped_image = Image.fromarray(cropped_image)
59
  out = viet_ocr_predict(cropped_image)
60
 
 
54
 
55
 
56
 
57
+ cropped_image = inp[min_y:max_y,min_x:max_x] # crop the image
58
  cropped_image = Image.fromarray(cropped_image)
59
  out = viet_ocr_predict(cropped_image)
60