KELONMYOSA
commited on
Commit
•
f9d2f08
1
Parent(s):
e3f2ef1
encoding csv
Browse files
dusha.py
CHANGED
@@ -46,7 +46,7 @@ class Dusha(datasets.GeneratorBasedBuilder):
|
|
46 |
def _generate_examples(self, audio_files: Union[str, os.PathLike], metadata: str):
|
47 |
examples = dict()
|
48 |
|
49 |
-
with open(metadata) as f:
|
50 |
for row in f:
|
51 |
data = row.split(",")
|
52 |
audio_path = data[0]
|
|
|
46 |
def _generate_examples(self, audio_files: Union[str, os.PathLike], metadata: str):
|
47 |
examples = dict()
|
48 |
|
49 |
+
with open(metadata, encoding="cp1251") as f:
|
50 |
for row in f:
|
51 |
data = row.split(",")
|
52 |
audio_path = data[0]
|