Skip to content

Commit 32740c1

Browse files
committed
Tweak code in the README.md file to actually list the available models
1 parent dbf1a08 commit 32740c1

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

README.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -197,7 +197,7 @@ from TTS.api import TTS
197197
device = "cuda" if torch.cuda.is_available() else "cpu"
198198

199199
# List available 🐸TTS models
200-
print(TTS().list_models())
200+
print("\n".join(TTS().list_models().list_models()))
201201

202202
# Init TTS
203203
tts = TTS("tts_models/multilingual/multi-dataset/xtts_v2").to(device)

0 commit comments

Comments
 (0)