Kamrani commited on
Commit
1b5b691
1 Parent(s): d6197a5

Update en-fa-translation.py

Browse files
Files changed (1) hide show
  1. en-fa-translation.py +2 -1
en-fa-translation.py CHANGED
@@ -68,7 +68,8 @@ class PersianTranslateDB(datasets.GeneratorBasedBuilder):
68
  # dl_manager is a datasets.download.DownloadManager that can be used to download and extract URLS
69
  # It can accept any type or nested list/dict and will give back the same structure with the url replaced with path to local files.
70
  # By default the archives will be extracted and a path to a cached folder where they are extracted is returned instead of the archive
71
- data_dir = dl_manager.download_and_extract(_URL)
 
72
  return [
73
  datasets.SplitGenerator(
74
  name=datasets.Split.TRAIN,
 
68
  # dl_manager is a datasets.download.DownloadManager that can be used to download and extract URLS
69
  # It can accept any type or nested list/dict and will give back the same structure with the url replaced with path to local files.
70
  # By default the archives will be extracted and a path to a cached folder where they are extracted is returned instead of the archive
71
+ #data_dir = dl_manager.download_and_extract(_URL)
72
+ data_dir = _URL
73
  return [
74
  datasets.SplitGenerator(
75
  name=datasets.Split.TRAIN,