sanchit-gandhi HF staff commited on
Commit
f299391
1 Parent(s): 5723b88

fix bug in csv loading

Browse files
Files changed (1) hide show
  1. ami-sdm.py +1 -1
ami-sdm.py CHANGED
@@ -412,7 +412,7 @@ class AMI(datasets.GeneratorBasedBuilder):
412
 
413
  whisper_transcriptions = dict()
414
  with open(transcript_files, encoding="utf-8") as f:
415
- reader = csv.DictReader(f, delimiter=",", quoting=csv.QUOTE_NONE)
416
  for line in reader:
417
  whisper_transcriptions[line["file_id"]] = line["whisper_transcript"]
418
 
 
412
 
413
  whisper_transcriptions = dict()
414
  with open(transcript_files, encoding="utf-8") as f:
415
+ reader = csv.DictReader(f, delimiter=",")
416
  for line in reader:
417
  whisper_transcriptions[line["file_id"]] = line["whisper_transcript"]
418