mirror of
https://github.com/wassname/TTS.git
synced 2026-09-12 12:11:47 +08:00
Fix tests
This commit is contained in:
@@ -250,7 +250,7 @@ def set_init_dict(model_dict, checkpoint, c):
|
||||
|
||||
def setup_model(num_chars, num_speakers, c):
|
||||
print(" > Using model: {}".format(c.model))
|
||||
MyModel = importlib.import_module('models.' + c.model.lower())
|
||||
MyModel = importlib.import_module('TTS.models.' + c.model.lower())
|
||||
MyModel = getattr(MyModel, c.model)
|
||||
if c.model.lower() in ["tacotron", "tacotrongst"]:
|
||||
model = MyModel(
|
||||
|
||||
Reference in New Issue
Block a user