RitchieP commited on
Commit
6cf3000
·
verified ·
1 Parent(s): e91b4d5

Update VerbaLex_voice.py

Browse files
Files changed (1) hide show
  1. VerbaLex_voice.py +1 -1
VerbaLex_voice.py CHANGED
@@ -110,6 +110,7 @@ class VerbaLexVoiceDataset(datasets.GeneratorBasedBuilder):
110
  return split_generators
111
 
112
  def _generate_examples(self, local_extracted_archive_paths, archives, meta_path):
 
113
  data_fields = list(self._info().features.keys())
114
  metadata = {}
115
  with open(meta_path, encoding="UTF-8") as f:
@@ -123,7 +124,6 @@ class VerbaLexVoiceDataset(datasets.GeneratorBasedBuilder):
123
  metadata[row["path"]] = row
124
 
125
  for i, audio_archive in enumerate(archives):
126
- print(audio_archive)
127
  for path, file in audio_archive:
128
  _, filename = os.path.split(path)
129
  if filename in metadata:
 
110
  return split_generators
111
 
112
  def _generate_examples(self, local_extracted_archive_paths, archives, meta_path):
113
+ datasets.logging.set_verbosity_info()
114
  data_fields = list(self._info().features.keys())
115
  metadata = {}
116
  with open(meta_path, encoding="UTF-8") as f:
 
124
  metadata[row["path"]] = row
125
 
126
  for i, audio_archive in enumerate(archives):
 
127
  for path, file in audio_archive:
128
  _, filename = os.path.split(path)
129
  if filename in metadata: