Spaces:
Runtime error
Runtime error
Update app.py
Browse files
app.py
CHANGED
@@ -13,7 +13,7 @@ def load_model():
|
|
13 |
'''
|
14 |
model = torch.hub.load('ultralytics/yolov5', 'custom', path='Content/best.pt')
|
15 |
model.conf = 0.38
|
16 |
-
model.
|
17 |
model.dnn=True
|
18 |
model.line_thickness=6
|
19 |
return model
|
|
|
13 |
'''
|
14 |
model = torch.hub.load('ultralytics/yolov5', 'custom', path='Content/best.pt')
|
15 |
model.conf = 0.38
|
16 |
+
model.hide_labels=True
|
17 |
model.dnn=True
|
18 |
model.line_thickness=6
|
19 |
return model
|