tom-b974 commited on
Commit
04cb990
·
verified ·
1 Parent(s): 6ee24ea

Update tasks/image.py

Browse files
Files changed (1) hide show
  1. tasks/image.py +1 -1
tasks/image.py CHANGED
@@ -18,7 +18,7 @@ router = APIRouter()
18
  DESCRIPTION = "YOLO Smoke Detection"
19
  ROUTE = "/image"
20
 
21
- yolo_model = YOLO("models/best.pt")
22
 
23
  def parse_boxes(annotation_string):
24
  """Parse multiple boxes from a single annotation string.
 
18
  DESCRIPTION = "YOLO Smoke Detection"
19
  ROUTE = "/image"
20
 
21
+ yolo_model = YOLO("best.pt")
22
 
23
  def parse_boxes(annotation_string):
24
  """Parse multiple boxes from a single annotation string.