Skip to content

Commit c631305

Browse files
committed
fix dep checker 2
1 parent cab8ab2 commit c631305

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

roboflow/core/version.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -159,7 +159,7 @@ def download(self, model_format=None, location=None, overwrite: bool = True):
159159

160160
if model_format == "yolov8":
161161
# we assume the user will want to use yolov8, for now we only support ultralytics=="8.11.0"
162-
print_warn_for_wrong_dependencies_versions([["ultralytics", "<=", "8.0.20"]])
162+
print_warn_for_wrong_dependencies_versions([("ultralytics", "<=", "8.0.20")])
163163

164164
model_format = self.__get_format_identifier(model_format)
165165

@@ -292,7 +292,7 @@ def train(self, speed=None, checkpoint=None) -> bool:
292292

293293
return True
294294

295-
@warn_for_wrong_dependencies_versions([["ultralytics", "<=", "8.0.20"]])
295+
@warn_for_wrong_dependencies_versions([("ultralytics", "<=", "8.0.20")])
296296
def deploy(self, model_type: str, model_path: str) -> None:
297297
"""Uploads provided weights file to Roboflow
298298

0 commit comments

Comments
 (0)