sanchit-gandhi HF staff commited on
Commit
517d65f
1 Parent(s): 7dbcdde

fix bug in csv loading

Browse files
Files changed (1) hide show
  1. common_voice_13_0.py +1 -1
common_voice_13_0.py CHANGED
@@ -199,7 +199,7 @@ class CommonVoice(datasets.GeneratorBasedBuilder):
199
 
200
  whisper_transcriptions = dict()
201
  with open(whisper_transcript, encoding="utf-8") as f:
202
- reader = csv.DictReader(f, delimiter=",", quoting=csv.QUOTE_NONE)
203
  for line in tqdm(reader, desc="Reading transcriptions..."):
204
  whisper_transcriptions[line["file_id"]] = line["whisper_transcript"]
205
 
 
199
 
200
  whisper_transcriptions = dict()
201
  with open(whisper_transcript, encoding="utf-8") as f:
202
+ reader = csv.DictReader(f, delimiter=",")
203
  for line in tqdm(reader, desc="Reading transcriptions..."):
204
  whisper_transcriptions[line["file_id"]] = line["whisper_transcript"]
205