KELONMYOSA
commited on
Commit
•
dffc89a
1
Parent(s):
195c1d7
load script
Browse files
dusha.py
CHANGED
@@ -25,7 +25,7 @@ class Dusha(datasets.GeneratorBasedBuilder):
|
|
25 |
DEFAULT_WRITER_BATCH_SIZE = 256
|
26 |
|
27 |
BUILDER_CONFIGS = [
|
28 |
-
DushaConfig(name="
|
29 |
]
|
30 |
|
31 |
def _info(self):
|
@@ -65,7 +65,7 @@ class Dusha(datasets.GeneratorBasedBuilder):
|
|
65 |
audio = {"path": full_audio_path, "bytes": audio_file.read()}
|
66 |
res = dict()
|
67 |
res["file"] = full_audio_path
|
68 |
-
|
69 |
res["label"] = label
|
70 |
examples.append(res)
|
71 |
|
|
|
25 |
DEFAULT_WRITER_BATCH_SIZE = 256
|
26 |
|
27 |
BUILDER_CONFIGS = [
|
28 |
+
DushaConfig(name="dusha"),
|
29 |
]
|
30 |
|
31 |
def _info(self):
|
|
|
65 |
audio = {"path": full_audio_path, "bytes": audio_file.read()}
|
66 |
res = dict()
|
67 |
res["file"] = full_audio_path
|
68 |
+
res["audio"] = audio
|
69 |
res["label"] = label
|
70 |
examples.append(res)
|
71 |
|