mirror of
https://github.com/w-okada/voice-changer.git
synced 2025-02-02 16:23:58 +03:00
WIP: support so-vits-svc, suppress log 2
This commit is contained in:
parent
87f7429501
commit
15dc87c407
@ -17,6 +17,10 @@ logger.addFilter(UvicornSuppressFilter())
|
||||
logger = logging.getLogger("fairseq.models.hubert.hubert")
|
||||
logger.addFilter(UvicornSuppressFilter())
|
||||
|
||||
logger = logging.getLogger("fairseq.tasks.text_to_speech")
|
||||
logger.addFilter(UvicornSuppressFilter())
|
||||
|
||||
|
||||
logger = logging.getLogger("numba.core.ssa")
|
||||
logger.addFilter(UvicornSuppressFilter())
|
||||
|
||||
|
@ -32,7 +32,7 @@ class SoVitsSvc40v2Settings():
|
||||
dstId: int = 101
|
||||
|
||||
f0Detector: str = "dio" # dio or harvest
|
||||
tran: int = 0
|
||||
tran: int = 20
|
||||
noiceScale: float = 0.3
|
||||
predictF0: int = 0 # 0:False, 1:True
|
||||
silentThreshold: float = 0.00001
|
||||
@ -63,7 +63,6 @@ class SoVitsSvc40v2:
|
||||
self.hps = utils.get_hparams_from_file(config)
|
||||
|
||||
# hubert model
|
||||
print("loading hubert model")
|
||||
vec_path = "hubert/checkpoint_best_legacy_500.pt"
|
||||
models, saved_cfg, task = checkpoint_utils.load_model_ensemble_and_task(
|
||||
[vec_path],
|
||||
|
Loading…
Reference in New Issue
Block a user