mirror of https://github.com/coqui-ai/TTS.git
Tweak code in the README.md file to actually list the available models
This commit is contained in:
parent
dbf1a08a0d
commit
32740c1c0a
|
@ -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)
|
||||
|
|
Loading…
Reference in New Issue