TenzinGayche commited on
Commit
019a5d9
1 Parent(s): 39fc952

generating data issue fixed

Browse files
Files changed (1) hide show
  1. tibetan_voice.py +1 -0
tibetan_voice.py CHANGED
@@ -112,6 +112,7 @@ class TibetanVoice(datasets.GeneratorBasedBuilder):
112
  with open(filepath, encoding="utf-8") as f:
113
  #tsv file
114
  reader = csv.reader(f, delimiter="\t", quotechar=None)
 
115
  for row in reader:
116
  example_map[row["path"]] = row["sentence"]
117
 
 
112
  with open(filepath, encoding="utf-8") as f:
113
  #tsv file
114
  reader = csv.reader(f, delimiter="\t", quotechar=None)
115
+ next(reader)
116
  for row in reader:
117
  example_map[row["path"]] = row["sentence"]
118