Closed chigkim closed 1 month ago
This is fixed by https://github.com/eginhard/coqui-tts/pull/8 in our fork, available via pip install coqui-tts
Thanks@eginhard! Had no idea this repo was abandoned.
Thanks @eginhard. This repo should probably be marked as read-only/archive by its owners.
Describe the bug
If I run tts.speakers after loading xtts_v2, it throws an error: 'TTS' object has no attribute 'speakers'.
To Reproduce
import torch from TTS.api import TTS device = "cuda" if torch.cuda.is_available() else "cpu" model = "tts_models/multilingual/multi-dataset/xtts_v2" tts = TTS(model).to(device) tts.speakers
Expected behavior
It should list all the speaker names.
Logs
Environment
Additional context
Other multi speaker models like vctk/vits work fine using the same method.