Datasets:
Update latex-formulas.py
Browse files- latex-formulas.py +1 -1
latex-formulas.py
CHANGED
@@ -59,7 +59,7 @@ class LatexFormulas(datasets.GeneratorBasedBuilder):
|
|
59 |
if self.config.name == "tokenized_formulas":
|
60 |
# dir_path = Path(data_path)
|
61 |
# dir_path = Path(dl_manager.download_and_extract(data_path))
|
62 |
-
dir_path = Path(dl_manager.download_and_extract(
|
63 |
assert dir_path.is_dir()
|
64 |
|
65 |
return [
|
|
|
59 |
if self.config.name == "tokenized_formulas":
|
60 |
# dir_path = Path(data_path)
|
61 |
# dir_path = Path(dl_manager.download_and_extract(data_path))
|
62 |
+
dir_path = Path(dl_manager.download_and_extract(self.config.data_url)) / 'common_formulas'
|
63 |
assert dir_path.is_dir()
|
64 |
|
65 |
return [
|