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