mirror of
https://github.com/babysor/Realtime-Voice-Clone-Chinese.git
synced 2026-11-28 15:14:05 +08:00
Add default param for inferencing of vocoder
This commit is contained in:
@@ -19,7 +19,7 @@ def load_checkpoint(filepath, device):
|
||||
return checkpoint_dict
|
||||
|
||||
|
||||
def load_model(weights_fpath, config_fpath, verbose=True):
|
||||
def load_model(weights_fpath, config_fpath=None, verbose=True):
|
||||
global generator, _device, output_sample_rate
|
||||
|
||||
if verbose:
|
||||
|
||||
Reference in New Issue
Block a user