ManishThota commited on
Commit
73602fe
·
verified ·
1 Parent(s): 929e07c

Update src/utils.py

Browse files
Files changed (1) hide show
  1. 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
- if value == 'None':
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