mirror of https://github.com/coqui-ai/TTS.git
Fixup
parent
5bd1fb6b2c
commit
a49c1931d9
|
@ -711,7 +711,7 @@ class AudioProcessor(object):
|
|||
Args:
|
||||
filename (str): Path to the wav file.
|
||||
"""
|
||||
return librosa.get_duration(path=filename)
|
||||
return librosa.get_duration(filename=filename)
|
||||
|
||||
@staticmethod
|
||||
def mulaw_encode(wav: np.ndarray, qc: int) -> np.ndarray:
|
||||
|
|
Loading…
Reference in New Issue