mirror of
https://github.com/w-okada/voice-changer.git
synced 2025-01-23 13:35:12 +03:00
WIP: hubert
This commit is contained in:
parent
9512fd5ae2
commit
cbd3c293f8
@ -77,7 +77,8 @@ class RVC:
|
||||
self.settings.configFile = config
|
||||
|
||||
try:
|
||||
models, saved_cfg, task = checkpoint_utils.load_model_ensemble_and_task(["hubert_base.pt"], suffix="",)
|
||||
hubert_path = self.params["hubert"]
|
||||
models, saved_cfg, task = checkpoint_utils.load_model_ensemble_and_task([hubert_path], suffix="",)
|
||||
model = models[0]
|
||||
model.eval()
|
||||
# model = model.half()
|
||||
|
Loading…
Reference in New Issue
Block a user