Edmon02 commited on
Commit
3861838
1 Parent(s): 7a8add4

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +6 -3
app.py CHANGED
@@ -47,11 +47,14 @@ class HySpeech(datasets.GeneratorBasedBuilder):
47
  def _info(self):
48
  features = datasets.Features(
49
  {
50
- "audio_path": datasets.Audio(sampling_rate=16_000),
51
- "speaker_id": datasets.Value("string")
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(