luisarizmendi
commited on
Update app.py
Browse files
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-
|
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 = []
|