anjalyjayakrishnan commited on
Commit
8d467c3
·
1 Parent(s): 89c3270

Update test.py

Browse files
Files changed (1) hide show
  1. test.py +2 -2
test.py CHANGED
@@ -79,7 +79,7 @@ class Test(datasets.GeneratorBasedBuilder):
79
  # "unnamed": datasets.Value("int64"),
80
  "sentence": datasets.Value("string"),
81
  "path": datasets.Value("string"),
82
- "audio": datasets.Audio(sampling_rate=16_000),
83
  }
84
  )
85
  return datasets.DatasetInfo(
@@ -153,6 +153,6 @@ class Test(datasets.GeneratorBasedBuilder):
153
  yield key, {
154
  "sentence": row["sentence"],
155
  "path": row["path"],
156
- "audio":{"path": row["path"], "bytes": data}
157
  }
158
  key+=1
 
79
  # "unnamed": datasets.Value("int64"),
80
  "sentence": datasets.Value("string"),
81
  "path": datasets.Value("string"),
82
+ # "audio": datasets.Audio(sampling_rate=16_000),
83
  }
84
  )
85
  return datasets.DatasetInfo(
 
153
  yield key, {
154
  "sentence": row["sentence"],
155
  "path": row["path"],
156
+ # "audio":{"path": row["path"], "bytes": data}
157
  }
158
  key+=1