KELONMYOSA commited on
Commit
04c13ec
1 Parent(s): b570af0

load script

Browse files
Files changed (1) hide show
  1. dusha.py +2 -2
dusha.py CHANGED
@@ -52,11 +52,11 @@ class Dusha(datasets.GeneratorBasedBuilder):
52
  "metadata": metadata},
53
  )]
54
 
55
- def _generate_examples(self, audio_files, metadata: str):
56
  examples = list()
57
 
58
  with open(metadata, encoding="utf-8") as f:
59
- csv_reader = csv.reader(f, delimiter=",", skipinitialspace=True)
60
  next(csv_reader)
61
  for row in csv_reader:
62
  audio_path, label = row
 
52
  "metadata": metadata},
53
  )]
54
 
55
+ def _generate_examples(self, audio_files, metadata):
56
  examples = list()
57
 
58
  with open(metadata, encoding="utf-8") as f:
59
+ csv_reader = csv.reader(f, delimiter=",")
60
  next(csv_reader)
61
  for row in csv_reader:
62
  audio_path, label = row