Spaces:
Build error
Build error
ShahzainHaider
commited on
Commit
·
902ec02
1
Parent(s):
e1e568b
Upload folder using huggingface_hub
Browse files- app/ocr_engine/__pycache__/ocr.cpython-38.pyc +0 -0
- app/ocr_engine/ocr.py +1 -3
- requirements.txt +0 -11
- unisntall.txt +11 -0
app/ocr_engine/__pycache__/ocr.cpython-38.pyc
CHANGED
Binary files a/app/ocr_engine/__pycache__/ocr.cpython-38.pyc and b/app/ocr_engine/__pycache__/ocr.cpython-38.pyc differ
|
|
app/ocr_engine/ocr.py
CHANGED
@@ -1,5 +1,3 @@
|
|
1 |
-
from paddleocr import PaddleOCR
|
2 |
-
from PIL import Image
|
3 |
-
import torch
|
4 |
|
5 |
OCR = PaddleOCR(use_angle_cls=True, lang='en') # need to run only once to download and load model into memory
|
|
|
1 |
+
from paddleocr import PaddleOCR
|
|
|
|
|
2 |
|
3 |
OCR = PaddleOCR(use_angle_cls=True, lang='en') # need to run only once to download and load model into memory
|
requirements.txt
CHANGED
@@ -125,17 +125,6 @@ multidict==6.0.4
|
|
125 |
multiprocess==0.70.12.2
|
126 |
networkx==3.1
|
127 |
numpy==1.24.3
|
128 |
-
nvidia-cublas-cu11==11.10.3.66
|
129 |
-
nvidia-cuda-cupti-cu11==11.7.101
|
130 |
-
nvidia-cuda-nvrtc-cu11==11.7.99
|
131 |
-
nvidia-cuda-runtime-cu11==11.7.99
|
132 |
-
nvidia-cudnn-cu11==8.5.0.96
|
133 |
-
nvidia-cufft-cu11==10.9.0.58
|
134 |
-
nvidia-curand-cu11==10.2.10.91
|
135 |
-
nvidia-cusolver-cu11==11.4.0.1
|
136 |
-
nvidia-cusparse-cu11==11.7.4.91
|
137 |
-
nvidia-nccl-cu11==2.14.3
|
138 |
-
nvidia-nvtx-cu11==11.7.91
|
139 |
oauthlib==3.2.2
|
140 |
opencv-contrib-python==4.6.0.66
|
141 |
opencv-python==4.6.0.66
|
|
|
125 |
multiprocess==0.70.12.2
|
126 |
networkx==3.1
|
127 |
numpy==1.24.3
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
128 |
oauthlib==3.2.2
|
129 |
opencv-contrib-python==4.6.0.66
|
130 |
opencv-python==4.6.0.66
|
unisntall.txt
ADDED
@@ -0,0 +1,11 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
nvidia-cublas-cu11==11.10.3.66
|
2 |
+
nvidia-cuda-cupti-cu11==11.7.101
|
3 |
+
nvidia-cuda-nvrtc-cu11==11.7.99
|
4 |
+
nvidia-cuda-runtime-cu11==11.7.99
|
5 |
+
nvidia-cudnn-cu11==8.5.0.96
|
6 |
+
nvidia-cufft-cu11==10.9.0.58
|
7 |
+
nvidia-curand-cu11==10.2.10.91
|
8 |
+
nvidia-cusolver-cu11==11.4.0.1
|
9 |
+
nvidia-cusparse-cu11==11.7.4.91
|
10 |
+
nvidia-nccl-cu11==2.14.3
|
11 |
+
nvidia-nvtx-cu11==11.7.91
|