mirror of
https://github.com/fumiama/Retrieval-based-Voice-Conversion-WebUI.git
synced 2026-06-05 01:10:22 +08:00
fix(backwardscomp): fix the rest of np.ndarray type subscriptions (#57)
forgot about these ones, my bad
This commit is contained in:
@@ -28,7 +28,7 @@ class CRePE(F0Predictor):
|
||||
|
||||
def compute_f0(
|
||||
self,
|
||||
wav: np.ndarray[Any, np.dtype],
|
||||
wav: np.ndarray,
|
||||
p_len: Optional[int] = None,
|
||||
filter_radius: Optional[Union[int, float]] = None,
|
||||
):
|
||||
|
||||
@@ -12,7 +12,7 @@ class Dio(F0Predictor):
|
||||
|
||||
def compute_f0(
|
||||
self,
|
||||
wav: np.ndarray[Any, np.dtype],
|
||||
wav: np.ndarray,
|
||||
p_len: Optional[int] = None,
|
||||
filter_radius: Optional[Union[int, float]] = None,
|
||||
):
|
||||
|
||||
@@ -28,7 +28,7 @@ class FCPE(F0Predictor):
|
||||
|
||||
def compute_f0(
|
||||
self,
|
||||
wav: np.ndarray[Any, np.dtype],
|
||||
wav: np.ndarray,
|
||||
p_len: Optional[int] = None,
|
||||
filter_radius: Optional[Union[int, float]] = 0.006,
|
||||
):
|
||||
|
||||
@@ -13,7 +13,7 @@ class Harvest(F0Predictor):
|
||||
|
||||
def compute_f0(
|
||||
self,
|
||||
wav: np.ndarray[Any, np.dtype],
|
||||
wav: np.ndarray,
|
||||
p_len: Optional[int] = None,
|
||||
filter_radius: Optional[Union[int, float]] = None,
|
||||
):
|
||||
|
||||
@@ -12,7 +12,7 @@ class PM(F0Predictor):
|
||||
|
||||
def compute_f0(
|
||||
self,
|
||||
wav: np.ndarray[Any, np.dtype],
|
||||
wav: np.ndarray,
|
||||
p_len: Optional[int] = None,
|
||||
filter_radius: Optional[int] = None,
|
||||
):
|
||||
|
||||
@@ -95,7 +95,7 @@ class RMVPE(F0Predictor):
|
||||
|
||||
def compute_f0(
|
||||
self,
|
||||
wav: np.ndarray[Any, np.dtype],
|
||||
wav: np.ndarray,
|
||||
p_len: Optional[int] = None,
|
||||
filter_radius: Optional[Union[int, float]] = None,
|
||||
):
|
||||
|
||||
Reference in New Issue
Block a user