dnth commited on
Commit
50b2c95
·
verified ·
1 Parent(s): e554661

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -10,7 +10,7 @@ from PIL import Image, ImageDraw
10
 
11
  # Use absolute paths instead of relative paths
12
  BASE_DIR = os.path.dirname(os.path.abspath(__file__))
13
- MODEL_PATH = os.path.join(BASE_DIR, "models/deim-blood-cell-detection_nano.onnx")
14
  CLASS_NAMES_PATH = os.path.join(BASE_DIR, "models/classes.txt")
15
 
16
  def resize_with_aspect_ratio(image, size, interpolation=Image.BILINEAR):
 
10
 
11
  # Use absolute paths instead of relative paths
12
  BASE_DIR = os.path.dirname(os.path.abspath(__file__))
13
+ MODEL_PATH = os.path.join(BASE_DIR, "models/deim-blood-cell-detection_small.onnx")
14
  CLASS_NAMES_PATH = os.path.join(BASE_DIR, "models/classes.txt")
15
 
16
  def resize_with_aspect_ratio(image, size, interpolation=Image.BILINEAR):