未验证 提交 ae521d37 编写于 作者: 小湉湉's avatar 小湉湉 提交者: GitHub

Update infer.py

上级 0202b8ca
...@@ -431,7 +431,7 @@ class TTSExecutor(BaseExecutor): ...@@ -431,7 +431,7 @@ class TTSExecutor(BaseExecutor):
""" """
Init model and other resources from a specific path. Init model and other resources from a specific path.
""" """
if hasattr(self, 'am') and hasattr(self, 'voc'): if hasattr(self, 'am_inference') and hasattr(self, 'voc_inference'):
logger.info('Models had been initialized.') logger.info('Models had been initialized.')
return return
# am # am
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册