diff --git a/vocoder/hifigan/inference.py b/vocoder/hifigan/inference.py index 4405f41..edbcd38 100644 --- a/vocoder/hifigan/inference.py +++ b/vocoder/hifigan/inference.py @@ -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: