remove unused parameter
This commit is contained in:
@@ -1,13 +1,12 @@
|
|||||||
import torch
|
import torch
|
||||||
from asteroid.models import ConvTasNet
|
from asteroid.models import ConvTasNet
|
||||||
|
|
||||||
def separate(audio, sr, model_name='mpariente/ConvTasNet_WHAMR_enhsingle'):
|
def separate(audio, model_name='mpariente/ConvTasNet_WHAMR_enhsingle'):
|
||||||
"""
|
"""
|
||||||
Separates audio into sources using a pretrained Asteroid model.
|
Separates audio into sources using a pretrained Asteroid model.
|
||||||
|
|
||||||
Args:
|
Args:
|
||||||
audio (numpy.ndarray): The audio time series (1D numpy array).
|
audio (numpy.ndarray): The audio time series (1D numpy array).
|
||||||
sr (int): Sampling rate of the audio.
|
|
||||||
model_name (str): Name of the pretrained model from Asteroid. Default is 'mpariente/ConvTasNet_WHAMR_enhsingle'.
|
model_name (str): Name of the pretrained model from Asteroid. Default is 'mpariente/ConvTasNet_WHAMR_enhsingle'.
|
||||||
|
|
||||||
Returns:
|
Returns:
|
||||||
|
|||||||
Reference in New Issue
Block a user