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