diff --git a/roboflow/__init__.py b/roboflow/__init__.py index 6aa41104..ad2972ba 100644 --- a/roboflow/__init__.py +++ b/roboflow/__init__.py @@ -15,7 +15,7 @@ from roboflow.models import CLIPModel, GazeModel # noqa: F401 from roboflow.util.general import write_line -__version__ = "1.1.43" +__version__ = "1.1.44" def check_key(api_key, model, notebook, num_retries=0): diff --git a/roboflow/core/project.py b/roboflow/core/project.py index 1448d205..b7e66c0f 100644 --- a/roboflow/core/project.py +++ b/roboflow/core/project.py @@ -44,7 +44,7 @@ def __init__(self, api_key: str, a_project: dict, model_format: Optional[str] = Args: api_key (str): private roboflow api key - a_project (str): the project id + a_project (dict): the project information dictionary model_format (str): the model format of the project Example: @@ -67,6 +67,7 @@ def __init__(self, api_key: str, a_project: dict, model_format: Optional[str] = self.public = a_project["public"] self.splits = a_project["splits"] self.type = a_project["type"] + self.multilabel = a_project.get("multilabel", False) self.unannotated = a_project["unannotated"] self.updated = datetime.datetime.fromtimestamp(a_project["updated"]) self.model_format = model_format