Update lib/pipeline.py
Browse files- lib/pipeline.py +1 -1
lib/pipeline.py
CHANGED
@@ -461,7 +461,7 @@ class Pipeline(object):
|
|
461 |
del self.model_rmvpe.model
|
462 |
del self.model_rmvpe
|
463 |
logger.info("Cleaning ortruntime memory")
|
464 |
-
elif f0_method == "
|
465 |
params = {'x': x, 'p_len': p_len, 'f0_up_key': f0_up_key, 'f0_min': f0_min,
|
466 |
'f0_max': f0_max, 'time_step': time_step, 'filter_radius': filter_radius,
|
467 |
'crepe_hop_length': crepe_hop_length, 'model': "full"
|
|
|
461 |
del self.model_rmvpe.model
|
462 |
del self.model_rmvpe
|
463 |
logger.info("Cleaning ortruntime memory")
|
464 |
+
elif f0_method == "rmvpe_legacy": # befor this rmvpe+, refrence by fcpe_legacy
|
465 |
params = {'x': x, 'p_len': p_len, 'f0_up_key': f0_up_key, 'f0_min': f0_min,
|
466 |
'f0_max': f0_max, 'time_step': time_step, 'filter_radius': filter_radius,
|
467 |
'crepe_hop_length': crepe_hop_length, 'model': "full"
|