Update audiocaps.py
#1
by
ospanbatyr
- opened
- audiocaps.py +1 -2
audiocaps.py
CHANGED
@@ -49,7 +49,7 @@ class AudioCaps(datasets.GeneratorBasedBuilder):
|
|
49 |
{
|
50 |
"file": datasets.Value("string"),
|
51 |
"audio": datasets.Audio(sampling_rate=None),
|
52 |
-
"captions":
|
53 |
}
|
54 |
),
|
55 |
name="audiocaps",
|
@@ -66,7 +66,6 @@ class AudioCaps(datasets.GeneratorBasedBuilder):
|
|
66 |
supervised_keys=None,
|
67 |
homepage="",
|
68 |
citation="",
|
69 |
-
task_templates=None,
|
70 |
)
|
71 |
|
72 |
def _split_generators(self, dl_manager):
|
|
|
49 |
{
|
50 |
"file": datasets.Value("string"),
|
51 |
"audio": datasets.Audio(sampling_rate=None),
|
52 |
+
"captions": datasets.Sequence(datasets.Value("string")),
|
53 |
}
|
54 |
),
|
55 |
name="audiocaps",
|
|
|
66 |
supervised_keys=None,
|
67 |
homepage="",
|
68 |
citation="",
|
|
|
69 |
)
|
70 |
|
71 |
def _split_generators(self, dl_manager):
|