mirror of https://github.com/coqui-ai/TTS.git
Update api.py
This commit is contained in:
parent
f0880d61f6
commit
ffe4b8efeb
|
@ -168,7 +168,9 @@ class TTS(nn.Module):
|
|||
self.synthesizer = None
|
||||
self.model_name = model_name
|
||||
|
||||
model_path, config_path, vocoder_path, vocoder_config_path, model_dir = self.download_model_by_name(model_name)
|
||||
model_path, config_path, vocoder_path, vocoder_config_path, model_dir = self.download_model_by_name(
|
||||
model_name
|
||||
)
|
||||
|
||||
# init synthesizer
|
||||
# None values are fetch from the model
|
||||
|
|
Loading…
Reference in New Issue