Actually list models instead of ModelManager ref

This commit is contained in:
Hristiyan Genchev 2024-02-20 16:08:37 +02:00 committed by GitHub
parent dbf1a08a0d
commit 678d8061a3
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
1 changed files with 1 additions and 1 deletions

View File

@ -197,7 +197,7 @@ from TTS.api import TTS
device = "cuda" if torch.cuda.is_available() else "cpu"
# List available 🐸TTS models
print(TTS().list_models())
print(TTS().list_models().list_models())
# Init TTS
tts = TTS("tts_models/multilingual/multi-dataset/xtts_v2").to(device)