Spaces:
Build error
Build error
ChrisPreston
commited on
Commit
·
6ce0876
1
Parent(s):
c16ad86
Update infer_tools/infer_tool.py
Browse files
infer_tools/infer_tool.py
CHANGED
@@ -85,7 +85,7 @@ class Svc:
|
|
85 |
spec_min=hparams['spec_min'], spec_max=hparams['spec_max'],
|
86 |
)
|
87 |
utils.load_ckpt(self.model, self.model_path, 'model', force=True, strict=True)
|
88 |
-
self.model.
|
89 |
self.vocoder = NsfHifiGAN()
|
90 |
|
91 |
def infer(self, in_path, key, acc, spk_id=0, use_crepe=True, singer=False):
|
|
|
85 |
spec_min=hparams['spec_min'], spec_max=hparams['spec_max'],
|
86 |
)
|
87 |
utils.load_ckpt(self.model, self.model_path, 'model', force=True, strict=True)
|
88 |
+
self.model.to(self.dev)
|
89 |
self.vocoder = NsfHifiGAN()
|
90 |
|
91 |
def infer(self, in_path, key, acc, spk_id=0, use_crepe=True, singer=False):
|