OleehyO commited on
Commit
02d4104
1 Parent(s): 500ab6d

Update latex-formulas.py

Browse files
Files changed (1) hide show
  1. 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(data_path)) / 'common_formulas'
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 [