saattrupdan commited on
Commit
8b691ae
1 Parent(s): 804013b

chore: Change datasets.splits.TRAIN to "train"

Browse files
Files changed (1) hide show
  1. scandi_wiki.py +1 -1
scandi_wiki.py CHANGED
@@ -111,7 +111,7 @@ class ScandiWiki(GeneratorBasedBuilder):
111
  downloaded_file = dl_manager.download(url)
112
  return [
113
  SplitGenerator(
114
- name=datasets.Split.TRAIN,
115
  gen_kwargs=dict(
116
  filepath=downloaded_file,
117
  split="train",
 
111
  downloaded_file = dl_manager.download(url)
112
  return [
113
  SplitGenerator(
114
+ name="train",
115
  gen_kwargs=dict(
116
  filepath=downloaded_file,
117
  split="train",