Skip to content

Commit

Permalink
Merge pull request #513 from openvinotoolkit/fix-anomaly-wrapper-conf…
Browse files Browse the repository at this point in the history
…iguration

Fix anomaly wrapper configuration
  • Loading branch information
ljcornel authored Oct 29, 2024
2 parents ca42ad1 + 951b52d commit e56c195
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions geti_sdk/deployment/deployed_model.py
Original file line number Diff line number Diff line change
Expand Up @@ -785,9 +785,9 @@ def get_model_config(self) -> Dict[str, Any]:
continue
except ValueError:
pass
if value in ["false", "False", "FALSE"]:
if isinstance(value, str) and value.lower() in ["false", "no"]:
value = False
elif value in ["true", "True", "TRUE"]:
elif isinstance(value, str) and value.lower() in ["true", "yes"]:
value = True
config[child.tag] = value
return config
Expand Down

0 comments on commit e56c195

Please sign in to comment.