Igor Kuzmin
commited on
Commit
·
154dc4d
1
Parent(s):
c0fc359
fix(dev): fix dataset init
Browse files
daiso.py
CHANGED
@@ -1005,7 +1005,7 @@ LABELS_MAPPING = {
|
|
1005 |
class DAISOConfig(datasets.BuilderConfig):
|
1006 |
"""BuilderConfig for DAISO."""
|
1007 |
|
1008 |
-
def __init__(self, label_classes, features, data_url, citation, url, **kwargs):
|
1009 |
"""BuilderConfig for DAISO.
|
1010 |
Args:
|
1011 |
features: `list[string]`, list of the features that will appear in the
|
@@ -1021,6 +1021,7 @@ class DAISOConfig(datasets.BuilderConfig):
|
|
1021 |
super(DAISOConfig, self).__init__(version=_VERSION, **kwargs)
|
1022 |
self.label_classes = label_classes
|
1023 |
self.features = features
|
|
|
1024 |
self.data_url = data_url
|
1025 |
self.citation = citation
|
1026 |
self.url = url
|
|
|
1005 |
class DAISOConfig(datasets.BuilderConfig):
|
1006 |
"""BuilderConfig for DAISO."""
|
1007 |
|
1008 |
+
def __init__(self, label_classes, features, speakers, data_url, citation, url, **kwargs):
|
1009 |
"""BuilderConfig for DAISO.
|
1010 |
Args:
|
1011 |
features: `list[string]`, list of the features that will appear in the
|
|
|
1021 |
super(DAISOConfig, self).__init__(version=_VERSION, **kwargs)
|
1022 |
self.label_classes = label_classes
|
1023 |
self.features = features
|
1024 |
+
self.speakers = speakers
|
1025 |
self.data_url = data_url
|
1026 |
self.citation = citation
|
1027 |
self.url = url
|