mimic2/models/__init__.py

9 lines
174 B
Python
Raw Normal View History

2017-07-08 17:08:26 +00:00
from .tacotron import Tacotron
def create_model(name, hparams):
if name == 'tacotron':
return Tacotron(hparams)
else:
raise Exception('Unknown model: ' + name)