sanchit-gandhi HF staff commited on
Commit
766c8ec
1 Parent(s): 326b922

fix bug in csv loading

Browse files
Files changed (1) hide show
  1. peoples_speech-clean.py +1 -1
peoples_speech-clean.py CHANGED
@@ -224,7 +224,7 @@ class PeoplesSpeech(datasets.GeneratorBasedBuilder):
224
 
225
  whisper_transcriptions = dict()
226
  with open(whisper_transcript, encoding="utf-8") as f:
227
- reader = csv.DictReader(f, delimiter=",", quoting=csv.QUOTE_NONE)
228
  for line in tqdm(reader, desc="Reading transcriptions..."):
229
  whisper_transcriptions[line["file_id"]] = line["whisper_transcript"]
230
 
 
224
 
225
  whisper_transcriptions = dict()
226
  with open(whisper_transcript, encoding="utf-8") as f:
227
+ reader = csv.DictReader(f, delimiter=",")
228
  for line in tqdm(reader, desc="Reading transcriptions..."):
229
  whisper_transcriptions[line["file_id"]] = line["whisper_transcript"]
230