Update nsynth-script.py
Browse files- 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[
|
| 97 |
-
"label": examples[
|
| 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 |
}
|