Add default param for inferencing of vocoder

This commit is contained in:
babysor00 2022-03-12 19:14:01 +08:00
parent 3fe0690cc6
commit 6532d65153

View File

@ -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: