Datasets:
yasumasaonoe
commited on
Commit
•
0a13039
1
Parent(s):
5ec98e0
Update docci.py
Browse files
docci.py
CHANGED
@@ -78,12 +78,6 @@ class DOCCI(datasets.GeneratorBasedBuilder):
|
|
78 |
|
79 |
def _split_generators(self, dl_manager):
|
80 |
"""Returns SplitGenerators."""
|
81 |
-
hf_auth_token = dl_manager.download_config.use_auth_token
|
82 |
-
if hf_auth_token is None:
|
83 |
-
raise ConnectionError(
|
84 |
-
"Please set use_auth_token=True or use_auth_token='<TOKEN>' to download this dataset"
|
85 |
-
)
|
86 |
-
|
87 |
if self.config.name == 'docci':
|
88 |
data = dl_manager.download_and_extract(_URLS)
|
89 |
return [
|
|
|
78 |
|
79 |
def _split_generators(self, dl_manager):
|
80 |
"""Returns SplitGenerators."""
|
|
|
|
|
|
|
|
|
|
|
|
|
81 |
if self.config.name == 'docci':
|
82 |
data = dl_manager.download_and_extract(_URLS)
|
83 |
return [
|