We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent f67035e commit 13820d3Copy full SHA for 13820d3
2 files changed
model_api/python/model_api/models/types.py
@@ -170,6 +170,8 @@ def __init__(
170
self.value_type = value_type
171
172
def from_str(self, value):
173
+ if self.value_type is str or self.value_type is StringValue:
174
+ return value.split()
175
try:
176
floats = [float(i) for i in value.split()]
177
model_api/python/pyproject.toml
@@ -8,7 +8,7 @@ build-backend = "setuptools.build_meta"
8
9
[project]
10
name = "openvino_model_api"
11
-version = "0.2.5.2"
+version = "0.2.5.3"
12
requires-python = ">=3.9"
13
authors = [
14
{name = "Intel(R) Corporation"},
0 commit comments