Update app.py
Browse files
app.py
CHANGED
@@ -1,5 +1,6 @@
|
|
1 |
from transformers import TrOCRProcessor, VisionEncoderDecoderModel
|
2 |
from PIL import Image
|
|
|
3 |
import requests
|
4 |
import warnings
|
5 |
from skimage.io import imread
|
@@ -27,7 +28,7 @@ import os
|
|
27 |
from tensorflow.keras.applications.resnet50 import ResNet50,preprocess_input, decode_predictions
|
28 |
from tensorflow.keras.preprocessing import image
|
29 |
from sklearn.feature_extraction.text import TfidfVectorizer
|
30 |
-
|
31 |
|
32 |
|
33 |
|
|
|
1 |
from transformers import TrOCRProcessor, VisionEncoderDecoderModel
|
2 |
from PIL import Image
|
3 |
+
import easyocr
|
4 |
import requests
|
5 |
import warnings
|
6 |
from skimage.io import imread
|
|
|
28 |
from tensorflow.keras.applications.resnet50 import ResNet50,preprocess_input, decode_predictions
|
29 |
from tensorflow.keras.preprocessing import image
|
30 |
from sklearn.feature_extraction.text import TfidfVectorizer
|
31 |
+
|
32 |
|
33 |
|
34 |
|