Update infer.py

pull/1472/head
TianYuan 3 years ago committed by GitHub
parent 0202b8caf4
commit ae521d3700
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

@ -431,7 +431,7 @@ class TTSExecutor(BaseExecutor):
"""
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.')
return
# am

Loading…
Cancel
Save