Update app.py
Browse files
app.py
CHANGED
@@ -47,11 +47,14 @@ class HySpeech(datasets.GeneratorBasedBuilder):
|
|
47 |
def _info(self):
|
48 |
features = datasets.Features(
|
49 |
{
|
50 |
-
"
|
51 |
-
"
|
52 |
-
"gender": datasets.Value("string"), # TODO: ClassVar?
|
53 |
"raw_text": datasets.Value("string"),
|
54 |
"normalized_text": datasets.Value("string"),
|
|
|
|
|
|
|
|
|
55 |
}
|
56 |
)
|
57 |
return datasets.DatasetInfo(
|
|
|
47 |
def _info(self):
|
48 |
features = datasets.Features(
|
49 |
{
|
50 |
+
"audio_id": datasets.Value("string"),
|
51 |
+
"audio": datasets.Audio(sampling_rate=16_000),
|
|
|
52 |
"raw_text": datasets.Value("string"),
|
53 |
"normalized_text": datasets.Value("string"),
|
54 |
+
"gender": datasets.Value("string"), # TODO: ClassVar?
|
55 |
+
"speaker_id": datasets.Value("string"),
|
56 |
+
"is_gold_transcript": datasets.Value("bool"),
|
57 |
+
"accent": datasets.Value("string"),
|
58 |
}
|
59 |
)
|
60 |
return datasets.DatasetInfo(
|