luozhouyang commited on
Commit
09d032f
1 Parent(s): 43c57e2

Fixed features

Browse files
Files changed (1) hide show
  1. dureader.py +2 -2
dureader.py CHANGED
@@ -48,7 +48,7 @@ class DuReader(datasets.GeneratorBasedBuilder):
48
  description="",
49
  citation="",
50
  homepage="",
51
- features=features,
52
  )
53
  if self.config.name == "checklist":
54
  features = {
@@ -68,7 +68,7 @@ class DuReader(datasets.GeneratorBasedBuilder):
68
  description="",
69
  citation="",
70
  homepage="",
71
- features=features,
72
  )
73
 
74
  return None
 
48
  description="",
49
  citation="",
50
  homepage="",
51
+ features=datasets.Features(features),
52
  )
53
  if self.config.name == "checklist":
54
  features = {
 
68
  description="",
69
  citation="",
70
  homepage="",
71
+ features=datasets.Features(features),
72
  )
73
 
74
  return None