mahmoud669 commited on
Commit
1ac03ab
·
verified ·
1 Parent(s): d1b1c42

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -40,7 +40,7 @@ reversed_map = {
40
  }
41
 
42
  model = timm.create_model("rexnet_150", pretrained = True, num_classes = 17)
43
- model.load_state_dict(torch.load('face_best_model.pth', map_location=torch.device('cpu')))
44
  model.eval()
45
 
46
  # Title of the app
 
40
  }
41
 
42
  model = timm.create_model("rexnet_150", pretrained = True, num_classes = 17)
43
+ model.load_state_dict(torch.load('faces_best_model.pth', map_location=torch.device('cpu')))
44
  model.eval()
45
 
46
  # Title of the app