Update ESLO_cleaned.py
Browse files- 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(
|
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
|