mirror of
https://github.com/babysor/MockingBird.git
synced 2024-03-22 13:11:31 +08:00
Add default param for inferencing of vocoder
This commit is contained in:
parent
3fe0690cc6
commit
6532d65153
|
@ -19,7 +19,7 @@ def load_checkpoint(filepath, device):
|
||||||
return checkpoint_dict
|
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
|
global generator, _device, output_sample_rate
|
||||||
|
|
||||||
if verbose:
|
if verbose:
|
||||||
|
|
Loading…
Reference in New Issue
Block a user