KELONMYOSA commited on
Commit
866f96a
1 Parent(s): e5f2aa4

loading script

Browse files
Files changed (1) hide show
  1. 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
- if path in examples:
62
- audio = {"path": path, "bytes": f.read()}
63
- yield key, {**examples[path], "audio": audio}
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