luisarizmendi commited on
Commit
09076ac
·
verified ·
1 Parent(s): f0236bb

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -16,7 +16,7 @@ def detect_objects_in_files(files):
16
  return "No files uploaded.", []
17
 
18
  device = "cuda" if torch.cuda.is_available() else "cpu"
19
- model = YOLO("https://github.com/luisarizmendi/ai-apps/raw/refs/heads/main/models/luisarizmendi/safety-hat/safety-hat-v1.pt")
20
  model.to(device)
21
 
22
  results_images = []
 
16
  return "No files uploaded.", []
17
 
18
  device = "cuda" if torch.cuda.is_available() else "cpu"
19
+ model = YOLO("https://github.com/luisarizmendi/ai-apps/raw/refs/heads/main/models/luisarizmendi/object-detector-safety/object-detector-safety-v1.pt")
20
  model.to(device)
21
 
22
  results_images = []