Spaces:
Runtime error
Runtime error
ManishThota
commited on
Update src/utils.py
Browse files- src/utils.py +1 -4
src/utils.py
CHANGED
@@ -44,10 +44,7 @@ def parse_annotations(annotations_list):
|
|
44 |
annotations_dict = {}
|
45 |
for annotation in annotations_list:
|
46 |
key, value = annotation.split(': ')
|
47 |
-
|
48 |
-
annotations_dict[key] = 'N/A'
|
49 |
-
else:
|
50 |
-
annotations_dict[key] = int(value)
|
51 |
return annotations_dict
|
52 |
|
53 |
|
|
|
44 |
annotations_dict = {}
|
45 |
for annotation in annotations_list:
|
46 |
key, value = annotation.split(': ')
|
47 |
+
annotations_dict[key] = int(value)
|
|
|
|
|
|
|
48 |
return annotations_dict
|
49 |
|
50 |
|