luisarizmendi
commited on
Update README.md
Browse files
README.md
CHANGED
@@ -164,7 +164,7 @@ def detect_objects_in_files(files):
|
|
164 |
return "No files uploaded.", []
|
165 |
|
166 |
device = "cuda" if torch.cuda.is_available() else "cpu"
|
167 |
-
model = YOLO("https://github.com/luisarizmendi/ai-apps/raw/refs/heads/main/models/luisarizmendi/object-detector-
|
168 |
model.to(device)
|
169 |
|
170 |
results_images = []
|
|
|
164 |
return "No files uploaded.", []
|
165 |
|
166 |
device = "cuda" if torch.cuda.is_available() else "cpu"
|
167 |
+
model = YOLO("https://github.com/luisarizmendi/ai-apps/raw/refs/heads/main/models/luisarizmendi/object-detector-hardhat-or-hat/object-detector-hardhat-or-hat.pt")
|
168 |
model.to(device)
|
169 |
|
170 |
results_images = []
|