cdminix commited on
Commit
a781096
·
verified ·
1 Parent(s): 3af2c5d

Update libriheavy.py

Browse files
Files changed (1) hide show
  1. libriheavy.py +1 -1
libriheavy.py CHANGED
@@ -153,7 +153,7 @@ class Libriheavy(datasets.GeneratorBasedBuilder):
153
  # skip the last utterance
154
  if utterance_id == sorted(list(text.keys()))[-1]:
155
  continue
156
- print(npz.keys())
157
  result = {
158
  "id": chunk["speaker_id"] + "_" + utterance_id,
159
  "speaker_id": chunk["speaker_id"],
 
153
  # skip the last utterance
154
  if utterance_id == sorted(list(text.keys()))[-1]:
155
  continue
156
+ print(npz[str(utterance_id)].item().keys())
157
  result = {
158
  "id": chunk["speaker_id"] + "_" + utterance_id,
159
  "speaker_id": chunk["speaker_id"],