Skip to content

Commit

Permalink
check for YOLO
Browse files Browse the repository at this point in the history
  • Loading branch information
grzegorz-roboflow committed Oct 24, 2024
1 parent 74a19af commit db94afd
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -147,7 +147,7 @@ def run(
half_precision: bool,
imgsz: int,
) -> BlockResult:
if "YOLO" not in locals():
if "YOLO" not in globals():
raise RuntimeError(
"You must install ultralytics in order to use this block."
)
Expand Down

0 comments on commit db94afd

Please sign in to comment.