mirror of https://github.com/coqui-ai/TTS.git
Use kwargs
This commit is contained in:
parent
8d921ebc2f
commit
894ef90439
|
@ -10,5 +10,5 @@ def setup_model(config: "Coqpit", samples: Union[List[List], List[Dict]] = None)
|
||||||
MyModel = find_module("TTS.tts.models", config.base_model.lower())
|
MyModel = find_module("TTS.tts.models", config.base_model.lower())
|
||||||
else:
|
else:
|
||||||
MyModel = find_module("TTS.tts.models", config.model.lower())
|
MyModel = find_module("TTS.tts.models", config.model.lower())
|
||||||
model = MyModel.init_from_config(config, samples)
|
model = MyModel.init_from_config(config=config, samples=samples)
|
||||||
return model
|
return model
|
||||||
|
|
Loading…
Reference in New Issue