yangwang825 commited on
Commit
0b59dc2
·
verified ·
1 Parent(s): 6fb3b71

Update nsynth-script.py

Browse files
Files changed (1) hide show
  1. nsynth-script.py +2 -2
nsynth-script.py CHANGED
@@ -93,6 +93,6 @@ class Nsynth(datasets.GeneratorBasedBuilder):
93
  "id": str(guid),
94
  # "file": audio_path,
95
  "audio": audio_filename,
96
- "instrument": examples[key]["instrument_family_str"],
97
- "label": examples[key]["instrument_family_str"],
98
  }
 
93
  "id": str(guid),
94
  # "file": audio_path,
95
  "audio": audio_filename,
96
+ "instrument": examples[guid]["instrument_family_str"],
97
+ "label": examples[guid]["instrument_family_str"],
98
  }