Skip to content

Commit

Permalink
another typo fix
Browse files Browse the repository at this point in the history
  • Loading branch information
tyler-romero committed Oct 7, 2024
1 parent 2fe025d commit 744b7f6
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/groundlight/experimental_api.py
Original file line number Diff line number Diff line change
Expand Up @@ -21,9 +21,9 @@
from groundlight_openapi_client.model.channel_enum import ChannelEnum
from groundlight_openapi_client.model.condition_request import ConditionRequest
from groundlight_openapi_client.model.count_mode_configuration import CountModeConfiguration
from groundlight_openapi_client.model.multi_class_mode_configuration import MultiClassModeConfiguration
from groundlight_openapi_client.model.detector_group_request import DetectorGroupRequest
from groundlight_openapi_client.model.label_value_request import LabelValueRequest
from groundlight_openapi_client.model.multi_class_mode_configuration import MultiClassModeConfiguration
from groundlight_openapi_client.model.roi_request import ROIRequest
from groundlight_openapi_client.model.rule_request import RuleRequest
from groundlight_openapi_client.model.verb_enum import VerbEnum
Expand Down Expand Up @@ -367,7 +367,7 @@ def create_multiclass_detector( # noqa: PLR0913 # pylint: disable=too-many-argu
pipeline_config=pipeline_config,
metadata=metadata,
)
detector_creation_input.mode = ModeEnum.M
detector_creation_input.mode = ModeEnum.MULTI_CLASS
mode_config = MultiClassModeConfiguration(class_names=class_names)
detector_creation_input.mode_configuration = mode_config
obj = self.detectors_api.create_detector(detector_creation_input, _request_timeout=DEFAULT_REQUEST_TIMEOUT)
Expand Down

0 comments on commit 744b7f6

Please sign in to comment.