Chinat commited on
Commit
79ff036
1 Parent(s): 9d1026d

Update app.py

Browse files

Change name of file

Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -6,7 +6,7 @@ import pathlib
6
  plt = platform.system()
7
  if plt == 'Linux': pathlib.WindowsPath = pathlib.PosixPath
8
 
9
- learn_inf = load_learner("export.pkl")
10
  new_label = {'face with mask': 'Student wearing mask', 'human face': 'Report! Student without mask detected'}
11
 
12
  def predict_person(img):
 
6
  plt = platform.system()
7
  if plt == 'Linux': pathlib.WindowsPath = pathlib.PosixPath
8
 
9
+ learn_inf = load_learner("mask_detection_mode.pkl")
10
  new_label = {'face with mask': 'Student wearing mask', 'human face': 'Report! Student without mask detected'}
11
 
12
  def predict_person(img):