ujs commited on
Commit
09fcd71
·
1 Parent(s): b6e64b3

Maybe fixed loading script?

Browse files
Files changed (1) hide show
  1. 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(",", 1)
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,