SohomToom commited on
Commit
a7d335f
·
verified ·
1 Parent(s): 545356e

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -10,7 +10,7 @@ import psutil
10
  import time
11
  #import spaces
12
 
13
- ocr = PaddleOCR(use_angle_cls=True, lang='en', det_model_dir='models/det', rec_model_dir='models/rec', cls_model_dir='models/cls')
14
  #ocr = PaddleOCR(use_angle_cls=True, lang='en', det_model_dir='models/det', rec_model_dir='models/rec')
15
 
16
  def classify_background_color(avg_color, white_thresh=230, black_thresh=50, yellow_thresh=100):
 
10
  import time
11
  #import spaces
12
 
13
+ ocr = PaddleOCR(use_angle_cls=True, lang='en')
14
  #ocr = PaddleOCR(use_angle_cls=True, lang='en', det_model_dir='models/det', rec_model_dir='models/rec')
15
 
16
  def classify_background_color(avg_color, white_thresh=230, black_thresh=50, yellow_thresh=100):