Spaces:
Running
Running
Update app.py
Browse files
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'
|
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):
|