AshanGimhana commited on
Commit
7fd6315
·
verified ·
1 Parent(s): 12a11a3

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -4,7 +4,7 @@ from PIL import Image
4
  import torchvision.transforms as transforms
5
  from ultralytics import YOLO
6
 
7
- # Load your models and map them to the CPU
8
  skin_tone_model = torch.load("SkinTone.pth", map_location=torch.device('cpu'))
9
  disease_model = YOLO("last.pt")
10
 
 
4
  import torchvision.transforms as transforms
5
  from ultralytics import YOLO
6
 
7
+ # Load models and map them to the CPU
8
  skin_tone_model = torch.load("SkinTone.pth", map_location=torch.device('cpu'))
9
  disease_model = YOLO("last.pt")
10