linting
This commit is contained in:
@@ -1,6 +1,3 @@
|
|||||||
import os
|
|
||||||
from warnings import warn
|
|
||||||
|
|
||||||
import numpy as np
|
import numpy as np
|
||||||
import torch
|
import torch
|
||||||
import ffmpeg
|
import ffmpeg
|
||||||
@@ -65,8 +62,8 @@ class AudioProcessor:
|
|||||||
"""
|
"""
|
||||||
Open an audio file and read as mono waveform, resampling as necessary
|
Open an audio file and read as mono waveform, resampling as necessary
|
||||||
|
|
||||||
Changed from original function at whisper.audio.load_audio to ensure compatibility
|
Changed from original function at whisper.audio.load_audio to ensure
|
||||||
with pyannote.audio
|
compatibility with pyannote.audio
|
||||||
Parameters
|
Parameters
|
||||||
----------
|
----------
|
||||||
file: str
|
file: str
|
||||||
|
|||||||
Reference in New Issue
Block a user