Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix TTS().list_models() #5

Merged
merged 1 commit into from
Mar 7, 2024
Merged

Fix TTS().list_models() #5

merged 1 commit into from
Mar 7, 2024

Conversation

eginhard
Copy link
Owner

@eginhard eginhard commented Mar 6, 2024

Copied from coqui-ai#3422 (fixes coqui-ai#3427, fixes coqui-ai#3429, obsoletes coqui-ai#3597, coqui-ai#3622):

from TTS.api import TTS
print(TTS().list_models())

This currently throws an error because TTS.list_models() returns the ModelManager Fix by calling list_models() on the model manager

I'm unsure if the functionality of TTS.list_models() was to return the ModelManager object, but this used to return a list of model names and currently does not.

@eginhard eginhard merged commit f6464d7 into dev Mar 7, 2024
33 of 34 checks passed
@eginhard eginhard deleted the fix-list-models branch March 7, 2024 08:33
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
2 participants