Dennis Aumiller commited on
Commit
4ed3e4c
1 Parent(s): 3c65fbb

Fixing type to dict.

Browse files
Files changed (1) hide show
  1. eur-lex-sum.py +2 -2
eur-lex-sum.py CHANGED
@@ -123,8 +123,8 @@ class EurLexSum(datasets.GeneratorBasedBuilder):
123
  lang = str(self.config.name)
124
 
125
  # Add language tag for each split
126
- urls = [url.format(lang) for url in _URLS]
127
- print(urls)
128
  data_dir = dl_manager.download_and_extract(urls)
129
  return [
130
  datasets.SplitGenerator(
 
123
  lang = str(self.config.name)
124
 
125
  # Add language tag for each split
126
+ urls = {k: url.format(lang) for k, url in _URLS.items()}
127
+ print(urls)
128
  data_dir = dl_manager.download_and_extract(urls)
129
  return [
130
  datasets.SplitGenerator(