Spaces:
Build error
Build error
Update app.py
Browse files
app.py
CHANGED
@@ -6,6 +6,8 @@ import cv2
|
|
6 |
import numpy as np
|
7 |
import gradio as gr
|
8 |
from paddleocr import PaddleOCR
|
|
|
|
|
9 |
|
10 |
ocr = PaddleOCR(use_angle_cls=True, lang='en', det_model_dir='models/det', rec_model_dir='models/rec', cls_model_dir='models/cls')
|
11 |
|
|
|
6 |
import numpy as np
|
7 |
import gradio as gr
|
8 |
from paddleocr import PaddleOCR
|
9 |
+
import psutil
|
10 |
+
import time
|
11 |
|
12 |
ocr = PaddleOCR(use_angle_cls=True, lang='en', det_model_dir='models/det', rec_model_dir='models/rec', cls_model_dir='models/cls')
|
13 |
|