sanchit-gandhi commited on
Commit
b51607f
·
1 Parent(s): 5460839

fix bug in csv loading

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