KELONMYOSA
commited on
Commit
•
33bc90b
1
Parent(s):
866f96a
loading script
Browse files- dusha_emotion_audio.py +4 -3
dusha_emotion_audio.py
CHANGED
@@ -58,6 +58,7 @@ class Dusha(datasets.GeneratorBasedBuilder):
|
|
58 |
|
59 |
key = 0
|
60 |
for path, f in audio_files:
|
61 |
-
|
62 |
-
|
63 |
-
|
|
|
|
58 |
|
59 |
key = 0
|
60 |
for path, f in audio_files:
|
61 |
+
if path in examples:
|
62 |
+
audio = {"path": path, "bytes": f.read()}
|
63 |
+
yield key, {**examples[path], "audio": audio}
|
64 |
+
key += 1
|