Leyo commited on
Commit
df8a741
1 Parent(s): c466eed

rename captions

Browse files
Files changed (1) hide show
  1. TGIF.py +2 -2
TGIF.py CHANGED
@@ -51,7 +51,7 @@ class TGIF(datasets.GeneratorBasedBuilder):
51
  {
52
  "video_path": datasets.Value("string"),
53
  "video_bytes": datasets.Value("large_binary"),
54
- "en_captions": datasets.features.Sequence(datasets.Value("string"))
55
  }
56
  ),
57
  supervised_keys=None,
@@ -116,5 +116,5 @@ class TGIF(datasets.GeneratorBasedBuilder):
116
  yield idx, {
117
  "video_path": video_link,
118
  "video_bytes": video_bytes,
119
- "en_captions": dict[video_link],
120
  }
 
51
  {
52
  "video_path": datasets.Value("string"),
53
  "video_bytes": datasets.Value("large_binary"),
54
+ "en_global_captions": datasets.features.Sequence(datasets.Value("string"))
55
  }
56
  ),
57
  supervised_keys=None,
 
116
  yield idx, {
117
  "video_path": video_link,
118
  "video_bytes": video_bytes,
119
+ "en_global_captions": dict[video_link],
120
  }