mirror of https://github.com/MycroftAI/mimic2.git
9 lines
174 B
Python
9 lines
174 B
Python
|
from .tacotron import Tacotron
|
||
|
|
||
|
|
||
|
def create_model(name, hparams):
|
||
|
if name == 'tacotron':
|
||
|
return Tacotron(hparams)
|
||
|
else:
|
||
|
raise Exception('Unknown model: ' + name)
|