Datasets:

Languages:
French
License:
BrunoHays commited on
Commit
7fc6e23
·
1 Parent(s): 9ac9651

Update ESLO_cleaned.py

Browse files
Files changed (1) hide show
  1. ESLO_cleaned.py +1 -1
ESLO_cleaned.py CHANGED
@@ -114,7 +114,7 @@ class ESLO(datasets.GeneratorBasedBuilder):
114
  return re.sub(r" +", " ", text).strip()
115
 
116
  @staticmethod
117
- @lru_cache(max_size=1)
118
  def load_audio(file: str, sr: int = SAMPLING_RATE):
119
  """
120
  Open an audio file and read as mono waveform, resampling as necessary
 
114
  return re.sub(r" +", " ", text).strip()
115
 
116
  @staticmethod
117
+ @lru_cache(maxsize=1)
118
  def load_audio(file: str, sr: int = SAMPLING_RATE):
119
  """
120
  Open an audio file and read as mono waveform, resampling as necessary