Gizachew commited on
Commit
160eac3
·
verified ·
1 Parent(s): 21f307e

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -2
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 = "saved_models/finetuned/finetuned_recog_model.pth"
12
- FONT_PATH = "fonts/NotoSansEthiopic-Regular.ttf" # Update the path to your font
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):