hlydecker commited on
Commit
09a96ae
1 Parent(s): c040456

content: added new, better model!

Browse files
Files changed (1) hide show
  1. app.py +2 -3
app.py CHANGED
@@ -6,10 +6,9 @@ import numpy as np
6
  from PIL import Image
7
 
8
  # Face masks
9
- model = torch.hub.load('ultralytics/yolov5', 'custom', "model_weights/face_masks_full.pt")
 
10
 
11
- # Animals
12
- # model = torch.hub.load('ultralytics/yolov5', 'custom', "model_weights/datasets_1000_41class.pt",force_reload=True)
13
 
14
 
15
 
 
6
  from PIL import Image
7
 
8
  # Face masks
9
+ # TODO: Allow user selectable model?
10
+ model = torch.hub.load('ultralytics/yolov5', 'custom', "model_weights/face_masks_v8.pt")
11
 
 
 
12
 
13
 
14