KELONMYOSA
commited on
Commit
•
04c13ec
1
Parent(s):
b570af0
load script
Browse files
dusha.py
CHANGED
@@ -52,11 +52,11 @@ class Dusha(datasets.GeneratorBasedBuilder):
|
|
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
|
|
|
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
|