coqui-ai / TTS

🐸💬 - a deep learning toolkit for Text-to-Speech, battle-tested in research and production
http://coqui.ai
Mozilla Public License 2.0
35.08k stars 4.28k forks source link

[Bug] Cannot synthesize via API because of self.model_name None #2525

Closed Ca-ressemble-a-du-fake closed 1 year ago

Ca-ressemble-a-du-fake commented 1 year ago

Describe the bug

Hi,

I trained a VITS model following the recipe.

Now I try to synthesize speech via the API but it fails because self.model_name is None. So https://github.com/coqui-ai/TTS/blob/e4c5c27854782bcda5ee0539dac32a7e4c8fa735/TTS/api.py#L306 cannot be evaluated.

To Reproduce

Follow the readme part on inference via api on a VITS model.

Expected behavior

No response

Logs

No response

Environment

Latest coqui version (0.13.2)

Additional context

No response

erogol commented 1 year ago

this is fixed in the latest release