Text-to-Speech
F5-TTS

Load on huggingFace

#23
by akotrei - opened

Hi, I can't load this model using:

from transformers import pipeline

pipe = pipeline("text-to-speech", model="SWivid/F5-TTS")

getting:

raise ValueError(
ValueError: Unrecognized model in SWivid/F5-TTS. Should have a `model_type` key in its config.json, or contain one of the following strings in its name: albert

What can be a reason?

Hi, I can't load this model using:

from transformers import pipeline

pipe = pipeline("text-to-speech", model="SWivid/F5-TTS")

getting:

raise ValueError(
ValueError: Unrecognized model in SWivid/F5-TTS. Should have a `model_type` key in its config.json, or contain one of the following strings in its name: albert

What can be a reason?

the SWivid/F5-TTS model is not compatible with the standard Hugging Face transformers interface. F5-TTS has its own custom implementation

Sign up or log in to comment