sanchit-gandhi commited on
Commit
56d2c96
·
1 Parent(s): fc2ce3c

fix bug in csv loading

Browse files
Files changed (1) hide show
  1. spgispeech.py +1 -1
spgispeech.py CHANGED
@@ -210,7 +210,7 @@ class Spgispeech(datasets.GeneratorBasedBuilder):
210
 
211
  whisper_transcriptions = dict()
212
  with open(whisper_transcript, encoding="utf-8") as f:
213
- reader = csv.DictReader(f, delimiter=",", quoting=csv.QUOTE_NONE)
214
  for line in reader:
215
  whisper_transcriptions[line["file_id"]] = line["whisper_transcript"]
216
 
 
210
 
211
  whisper_transcriptions = dict()
212
  with open(whisper_transcript, encoding="utf-8") as f:
213
+ reader = csv.DictReader(f, delimiter=",")
214
  for line in reader:
215
  whisper_transcriptions[line["file_id"]] = line["whisper_transcript"]
216