gowtham58 commited on
Commit
93c84eb
·
verified ·
1 Parent(s): 31ab288

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -12,7 +12,7 @@ img_transform = transforms.Compose([
12
  transforms.Normalize(mean=[0.485, 0.456, 0.406], std=[0.229, 0.224, 0.225]),
13
  ])
14
  #Loading the model
15
- model = torch.load("model\MobileNet_v3.pt", map_location=torch.device('cpu'))
16
  model.eval()
17
 
18
  #Mushroom Classes
 
12
  transforms.Normalize(mean=[0.485, 0.456, 0.406], std=[0.229, 0.224, 0.225]),
13
  ])
14
  #Loading the model
15
+ model = torch.load(Path("model\MobileNet_v3.pt"), map_location=torch.device('cpu'))
16
  model.eval()
17
 
18
  #Mushroom Classes