Leyo commited on
Commit
bb219c6
·
1 Parent(s): 70b4c61

fixed DL_URLS

Browse files
Files changed (1) hide show
  1. TGIF.py +6 -1
TGIF.py CHANGED
@@ -28,6 +28,11 @@ and three sentences per GIF for the test split. The dataset shall be used to eva
28
  _URL_BASE = "http://raingo.github.io/TGIF-Release/"
29
 
30
  _DL_URL = "https://github.com/raingo/TGIF-Release/archive/master.zip"
 
 
 
 
 
31
 
32
  class TGIFConfig(datasets.BuilderConfig):
33
  """BuilderConfig for TGIF."""
@@ -57,7 +62,7 @@ class TGIF(datasets.GeneratorBasedBuilder):
57
  )
58
 
59
  def _split_generators(self, dl_manager):
60
- archive_path = dl_manager.download(_DL_URL)
61
  # (Optional) In non-streaming mode, we can extract the archive locally to have actual local audio files:
62
  local_extracted_archive = dl_manager.extract(archive_path) if not dl_manager.is_streaming else {}
63
  train_splits = [
 
28
  _URL_BASE = "http://raingo.github.io/TGIF-Release/"
29
 
30
  _DL_URL = "https://github.com/raingo/TGIF-Release/archive/master.zip"
31
+ _DL_URLS = {
32
+ "dev": _DL_URL,
33
+ "test": _DL_URL,
34
+ "train": _DL_URL,
35
+ }
36
 
37
  class TGIFConfig(datasets.BuilderConfig):
38
  """BuilderConfig for TGIF."""
 
62
  )
63
 
64
  def _split_generators(self, dl_manager):
65
+ archive_path = dl_manager.download(_DL_URLS)
66
  # (Optional) In non-streaming mode, we can extract the archive locally to have actual local audio files:
67
  local_extracted_archive = dl_manager.extract(archive_path) if not dl_manager.is_streaming else {}
68
  train_splits = [