phusroyal commited on
Commit
f39c917
1 Parent(s): 8681eb8

Update ViHOS.py

Browse files
Files changed (1) hide show
  1. ViHOS.py +2 -0
ViHOS.py CHANGED
@@ -57,6 +57,8 @@ class ViHOS(datasets.GeneratorBasedBuilder):
57
  id_ = data.loc[i, 'id']
58
  content = data.loc[i, 'Content']
59
  span_ids = data.loc[i, 'Span ids']
 
 
60
 
61
  yield id_, {
62
  "content": content,
 
57
  id_ = data.loc[i, 'id']
58
  content = data.loc[i, 'Content']
59
  span_ids = data.loc[i, 'Span ids']
60
+ if span_ids is None:
61
+ span_ids = ''
62
 
63
  yield id_, {
64
  "content": content,