We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent c08f608 commit 358154bCopy full SHA for 358154b
1 file changed
vocoders/hifigan.py
@@ -14,7 +14,7 @@
14
from vocoders.vocoder_utils import denoise
15
16
17
-def load_model(config_path, checkpoint_path):
+def load_model(config_path, file_path):
18
device = torch.device("cuda" if torch.cuda.is_available() else "cpu")
19
ext = os.path.splitext(file_path)[-1]
20
if ext == '.pth':
0 commit comments