Maybe fixed loading script?
Browse files- hinglish.py +1 -1
hinglish.py
CHANGED
|
@@ -60,7 +60,7 @@ class HinglishDataset(datasets.GeneratorBasedBuilder):
|
|
| 60 |
examples = {}
|
| 61 |
with open(prompts_path, encoding="utf-8") as f:
|
| 62 |
for row in f:
|
| 63 |
-
data = row.strip().split(","
|
| 64 |
audio_path = "/".join([path_to_clips, data[0]])
|
| 65 |
examples[audio_path] = {
|
| 66 |
"path": audio_path,
|
|
|
|
| 60 |
examples = {}
|
| 61 |
with open(prompts_path, encoding="utf-8") as f:
|
| 62 |
for row in f:
|
| 63 |
+
data = row.strip().split(",")
|
| 64 |
audio_path = "/".join([path_to_clips, data[0]])
|
| 65 |
examples[audio_path] = {
|
| 66 |
"path": audio_path,
|