Text-to-Speech
coqui

Can't load model using pipeline or AutoModel

#124
by akotrei - opened

Sorry for the possibly dumb question, I'm new to Hugging Face but I can't load this model:

from transformers import pipeline
transformer = pipeline(task="text-to-audio", model="coqui/XTTS-v2")

I'm getting an error:

raise ValueError(
ValueError: Unrecognized model in coqui/XTTS-v2. Should have a `model_type` key in its config.json, or contain one of ...

How it can be fixed?

thanks!

Sign up or log in to comment