Spaces:
Runtime error
Runtime error
Update app.py
Browse files
app.py
CHANGED
@@ -7,7 +7,7 @@ plt = platform.system()
|
|
7 |
if plt == 'Linux': pathlib.WindowsPath = pathlib.PosixPath
|
8 |
|
9 |
learn_inf = load_learner("mask_detection_model.pkl")
|
10 |
-
new_label = {'face
|
11 |
|
12 |
def predict_person(img):
|
13 |
|
|
|
7 |
if plt == 'Linux': pathlib.WindowsPath = pathlib.PosixPath
|
8 |
|
9 |
learn_inf = load_learner("mask_detection_model.pkl")
|
10 |
+
new_label = {'white face mask': 'Student wearing mask', 'human face': 'Report! Student without mask detected'}
|
11 |
|
12 |
def predict_person(img):
|
13 |
|