Tweak code in the README.md file to actually list the available models

This commit is contained in:
Manu Cornet 2024-04-27 07:14:10 +00:00
parent dbf1a08a0d
commit 32740c1c0a
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("\n".join(TTS().list_models().list_models()))
# Init TTS
tts = TTS("tts_models/multilingual/multi-dataset/xtts_v2").to(device)