Skip to content

Commit

Permalink
defensive bugfix
Browse files Browse the repository at this point in the history
  • Loading branch information
matt-bernstein committed Nov 12, 2024
1 parent 125e5a8 commit 3f016a5
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion adala/skills/collection/label_studio.py
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,7 @@ def ner_tags(self) -> Iterator[ControlTag]:
interface = LabelInterface(self.label_config)
for tag in interface.controls:
# NOTE: don't need to check object tag because at this point, unusable control tags should have been stripped out of the label config
if tag.tag == "Labels":
if tag.tag.lower() == "labels":
yield tag

@model_validator(mode="after")
Expand Down

0 comments on commit 3f016a5

Please sign in to comment.