Commit
·
1d6c3e3
1
Parent(s):
1936404
loading script
Browse files- dusha_emotion_audio.py +4 -4
dusha_emotion_audio.py
CHANGED
@@ -59,7 +59,7 @@ class Dusha(datasets.GeneratorBasedBuilder):
|
|
59 |
|
60 |
key = 0
|
61 |
for path, f in audio_files:
|
62 |
-
|
63 |
-
|
64 |
-
|
65 |
-
|
|
|
59 |
|
60 |
key = 0
|
61 |
for path, f in audio_files:
|
62 |
+
audio = {"path": path, "bytes": f.read()}
|
63 |
+
yield key, {**examples[path], "audio": audio}
|
64 |
+
key += 1
|
65 |
+
|