Samip commited on
Commit
78df896
·
1 Parent(s): a088f90

Update Scotch.py

Browse files
Files changed (1) hide show
  1. Scotch.py +1 -1
Scotch.py CHANGED
@@ -110,7 +110,7 @@ class ScotchDataset(datasets.GeneratorBasedBuilder):
110
  if not split in splitpaths:
111
  splitpaths[split]=lang_split_files
112
  else:
113
- splitpaths.extend(lang_split_files)
114
 
115
  return [
116
  datasets.SplitGenerator(
 
110
  if not split in splitpaths:
111
  splitpaths[split]=lang_split_files
112
  else:
113
+ splitpaths[split].extend(lang_split_files)
114
 
115
  return [
116
  datasets.SplitGenerator(