Update app.py
Browse files
app.py
CHANGED
@@ -8,8 +8,8 @@ from utils import preprocess_image, decode_predictions
|
|
8 |
import os
|
9 |
|
10 |
# Load the model (ensure the path is correct)
|
11 |
-
MODEL_PATH = "
|
12 |
-
FONT_PATH = "
|
13 |
|
14 |
# Check if model file exists
|
15 |
if not os.path.exists(MODEL_PATH):
|
|
|
8 |
import os
|
9 |
|
10 |
# Load the model (ensure the path is correct)
|
11 |
+
MODEL_PATH = "./finetuned_recog_model.pth"
|
12 |
+
FONT_PATH = "./NotoSansEthiopic-Regular.ttf" # Update the path to your font
|
13 |
|
14 |
# Check if model file exists
|
15 |
if not os.path.exists(MODEL_PATH):
|