Commit
·
474780c
1
Parent(s):
82ecf98
loading script
Browse files- dusha_emotion_audio.py +3 -4
dusha_emotion_audio.py
CHANGED
|
@@ -59,7 +59,6 @@ class Dusha(datasets.GeneratorBasedBuilder):
|
|
| 59 |
|
| 60 |
key = 0
|
| 61 |
for path, f in audio_files:
|
| 62 |
-
|
| 63 |
-
|
| 64 |
-
|
| 65 |
-
key += 1
|
|
|
|
| 59 |
|
| 60 |
key = 0
|
| 61 |
for path, f in audio_files:
|
| 62 |
+
audio = {"path": path, "bytes": f.read()}
|
| 63 |
+
yield key, {"file": path, "audio": audio, "label": "test"}
|
| 64 |
+
key += 1
|
|
|