fix(pre_commit): 🎨 auto format pre-commit hooks
This commit is contained in:
parent
c67078b53c
commit
13f85ae6cc
|
|
@ -399,7 +399,7 @@ class Detections:
|
|||
"""
|
||||
boxes = transformers_results.get("boxes")
|
||||
|
||||
# If the boxes key is in the transformers_results then we know it's an
|
||||
# If the boxes key is in the transformers_results then we know it's an
|
||||
# object detection result. Else, we can assume it's a segmentation model
|
||||
if boxes:
|
||||
return cls(
|
||||
|
|
|
|||
Loading…
Reference in New Issue