KELONMYOSA commited on
Commit
dffc89a
1 Parent(s): 195c1d7

load script

Browse files
Files changed (1) hide show
  1. dusha.py +2 -2
dusha.py CHANGED
@@ -25,7 +25,7 @@ class Dusha(datasets.GeneratorBasedBuilder):
25
  DEFAULT_WRITER_BATCH_SIZE = 256
26
 
27
  BUILDER_CONFIGS = [
28
- DushaConfig(name="clean"),
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
- #res["audio"] = audio
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