Commit
·
82ecf98
1
Parent(s):
40b2458
loading script
Browse files- dusha_emotion_audio.py +1 -1
dusha_emotion_audio.py
CHANGED
|
@@ -61,5 +61,5 @@ class Dusha(datasets.GeneratorBasedBuilder):
|
|
| 61 |
for path, f in audio_files:
|
| 62 |
if path in examples:
|
| 63 |
audio = {"path": path, "bytes": f.read()}
|
| 64 |
-
yield key, {
|
| 65 |
key += 1
|
|
|
|
| 61 |
for path, f in audio_files:
|
| 62 |
if path in examples:
|
| 63 |
audio = {"path": path, "bytes": f.read()}
|
| 64 |
+
yield key, {"file": path, "audio": audio}
|
| 65 |
key += 1
|