Fixed spelling error in argument name
Browse files- hinglish.py +2 -2
hinglish.py
CHANGED
|
@@ -56,9 +56,9 @@ class HinglishDataset(datasets.GeneratorBasedBuilder):
|
|
| 56 |
),
|
| 57 |
]
|
| 58 |
|
| 59 |
-
def _generate_examples(self,
|
| 60 |
examples = {}
|
| 61 |
-
with open(
|
| 62 |
for row in f:
|
| 63 |
data = row.strip().split(",", 1)
|
| 64 |
audio_path = "/".join([path_to_clips, data[0]])
|
|
|
|
| 56 |
),
|
| 57 |
]
|
| 58 |
|
| 59 |
+
def _generate_examples(self, prompts_path, path_to_clips, audio_files):
|
| 60 |
examples = {}
|
| 61 |
+
with open(prompts_path, encoding="utf-8") as f:
|
| 62 |
for row in f:
|
| 63 |
data = row.strip().split(",", 1)
|
| 64 |
audio_path = "/".join([path_to_clips, data[0]])
|