BeeGass commited on
Commit
f73bf87
·
verified ·
1 Parent(s): 039ea0d

Upload permutation-groups.py with huggingface_hub

Browse files
Files changed (1) hide show
  1. permutation-groups.py +1 -1
permutation-groups.py CHANGED
@@ -92,7 +92,7 @@ class PermutationGroups(datasets.GeneratorBasedBuilder):
92
 
93
  def _split_generators(self, dl_manager):
94
  # Construct the full URL for the data folder on the Hugging Face Hub
95
- remote_data_url = f"https://huggingface.co/datasets/{_HOMEPAGE.split('/')[-2]}/{_HOMEPAGE.split('/')[-1]}/resolve/main/data/{self.config.name}"
96
 
97
  # Download the data folder
98
  downloaded_path = dl_manager.download_and_extract(remote_data_url)
 
92
 
93
  def _split_generators(self, dl_manager):
94
  # Construct the full URL for the data folder on the Hugging Face Hub
95
+ remote_data_url = f"{_HOMEPAGE}/resolve/main/data/{self.config.name}"
96
 
97
  # Download the data folder
98
  downloaded_path = dl_manager.download_and_extract(remote_data_url)