Datasets:
Update SourceData.py
Browse files- SourceData.py +1 -1
SourceData.py
CHANGED
@@ -73,7 +73,7 @@ class SourceData(datasets.GeneratorBasedBuilder):
|
|
73 |
_LATEST_VERSION = "1.0.0"
|
74 |
|
75 |
def _info(self):
|
76 |
-
VERSION = self.config.version if self.config.version not in ["0.0.0", "latest"] else _LATEST_VERSION
|
77 |
self._URLS = {
|
78 |
"NER": f"{_BASE_URL}token_classification/v_{VERSION}/ner/",
|
79 |
"PANELIZATION": f"{_BASE_URL}token_classification/v_{VERSION}/panelization/",
|
|
|
73 |
_LATEST_VERSION = "1.0.0"
|
74 |
|
75 |
def _info(self):
|
76 |
+
VERSION = self.config.version if self.config.version not in ["0.0.0", "latest"] else self._LATEST_VERSION
|
77 |
self._URLS = {
|
78 |
"NER": f"{_BASE_URL}token_classification/v_{VERSION}/ner/",
|
79 |
"PANELIZATION": f"{_BASE_URL}token_classification/v_{VERSION}/panelization/",
|