Sampson2022
commited on
Commit
•
16ab230
1
Parent(s):
68cd676
Update demo2.py
Browse files
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
|
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)
|