Update app.py
Browse files
app.py
CHANGED
@@ -7,7 +7,7 @@ from PIL import Image
|
|
7 |
import cv2
|
8 |
|
9 |
# Load the trained OCR model
|
10 |
-
model = load_model("
|
11 |
|
12 |
# Define a function to preprocess the image
|
13 |
def preprocess_image(image):
|
|
|
7 |
import cv2
|
8 |
|
9 |
# Load the trained OCR model
|
10 |
+
model = load_model("model_ocr.h5")
|
11 |
|
12 |
# Define a function to preprocess the image
|
13 |
def preprocess_image(image):
|