ugshanyu commited on
Commit
5515c51
1 Parent(s): 5729237

Update jambal2.py

Browse files
Files changed (1) hide show
  1. jambal2.py +1 -3
jambal2.py CHANGED
@@ -61,11 +61,9 @@ class CustomDataset(datasets.GeneratorBasedBuilder):
61
  print("csv_file",csv_file)
62
  csv_reader = csv.DictReader(csv_file)
63
  for row in csv_reader:
64
- original_sentence_id, sentence, locale = row.values()
65
  audio_file = f"{original_sentence_id}.mp3"
66
  audio_file_path = os.path.join(audio_path, audio_file)
67
- print("audio_file_path",audio_file_path)
68
- print("audio_file",audio_file)
69
  yield key, {
70
  "audio": audio_file_path,
71
  "sentence": sentence,
 
61
  print("csv_file",csv_file)
62
  csv_reader = csv.DictReader(csv_file)
63
  for row in csv_reader:
64
+ original_sentence_id, sentence = row.values()
65
  audio_file = f"{original_sentence_id}.mp3"
66
  audio_file_path = os.path.join(audio_path, audio_file)
 
 
67
  yield key, {
68
  "audio": audio_file_path,
69
  "sentence": sentence,