KELONMYOSA
commited on
Commit
•
e5f2aa4
1
Parent(s):
20abcf3
loading script
Browse files- dusha_emotion_audio.py +4 -4
dusha_emotion_audio.py
CHANGED
@@ -51,10 +51,10 @@ class Dusha(datasets.GeneratorBasedBuilder):
|
|
51 |
next(csv_reader)
|
52 |
for row in csv_reader:
|
53 |
audio_path, label = row
|
54 |
-
|
55 |
-
|
56 |
-
|
57 |
-
|
58 |
|
59 |
key = 0
|
60 |
for path, f in audio_files:
|
|
|
51 |
next(csv_reader)
|
52 |
for row in csv_reader:
|
53 |
audio_path, label = row
|
54 |
+
examples[audio_path] = {
|
55 |
+
"file": audio_path,
|
56 |
+
"label": label,
|
57 |
+
}
|
58 |
|
59 |
key = 0
|
60 |
for path, f in audio_files:
|