Sampson2022 commited on
Commit
16ab230
1 Parent(s): 68cd676

Update demo2.py

Browse files
Files changed (1) hide show
  1. demo2.py +1 -1
demo2.py CHANGED
@@ -123,7 +123,7 @@ class DemoDataset(datasets.GeneratorBasedBuilder):
123
  ]
124
 
125
  # method parameters are unpacked from `gen_kwargs` as given in `_split_generators`
126
- def _generate_examples(self, filepath, split):
127
  key = 0
128
  with open(filepath, encoding="utf-8") as f:
129
  reader = csv.DictReader(f)
 
123
  ]
124
 
125
  # method parameters are unpacked from `gen_kwargs` as given in `_split_generators`
126
+ def _generate_examples(self, filepath):
127
  key = 0
128
  with open(filepath, encoding="utf-8") as f:
129
  reader = csv.DictReader(f)