Closed namuan closed 2 weeks ago
It seems that f5-tts-mlx does not support certain characters, resulting in a negative value for seq_len - text_len. https://github.com/lucasnewman/f5-tts-mlx/issues/13
Fixed!
pip install -U f5-tts-mlx or pip install -r requirements.txt
Getting this error when generating audio for a long text
Here is the full stack trace with the example text_prompt
I did manage to get around this by splitting the text into multiple sentences and generating separate audio segments using the same speaker.
Here is the modified code from
Step-4-TTS-Workflow.ipynb
Also updated the file path to use padding to help with sorting