Live data from Hacker News

Show HN: Kitten TTS – 25MB CPU-Only, Open-Source TTS Model

github.com

191–200 of 383 posts

Re: Show HN: Kitten TTS – 25MB CPU-Only, Open-Source TTS Model

#191
post #134

Earlier quoted context omitted.

Have you considered offering a uvx command to run to get people going quickly?

Though I think you would still need to have the Python build dependencies installed for that to work.

I think it can install Python itself too. Though I have had issues with that - especially with SSL certificate locations, which is one of Linux's other clusterfucks.

Re: Show HN: Kitten TTS – 25MB CPU-Only, Open-Source TTS Model

#192
post #173
post #154

Earlier quoted context omitted.

Well, speech synthesizers are pretty much famous for speaking all sorts of things wrong. But what I find very concerning about LLM based TTS is that some of them cant really speak numbers greater then 100. They try, but fail a lot. At least tts-1-hd was pretty much doing this for almost every 3 or 4 digit number. Especially noticeable when it is supposed to read a year number.

Not entirely related but humans have the same problem. For scriptwriting when doing voice overs we always explicitly write out everything. So instead of 1 000 000 we would write one million or a million. This is a trivial example but if the number was 1 548 736 you will almost never be able to just read that off. However one million, five hundred and forty eight thousand, seven hundred and thirty six can just be read…

Regarding humans, yes and no. If a human had constantly problems with 3 and 4 digit numbers like tts-1-hd does, I'd ask myself if they were neurodivergent in some way.

And yes, I added instructions along the lines of what you describe to my prompt. Its just sad that we have to. After all, LLM TTS has solved a bunch of real problems, like switching languages in a text, or foreign words. The pronounciation is better then anything we ever had. But it fails to read short numbers. I feel like that small issue could probably have been solved by doing some fine tuning. But I actually dont really understand the tech for it, so...

Re: Show HN: Kitten TTS – 25MB CPU-Only, Open-Source TTS Model

#193

System Requirements Works literally everywhere Haha, on one of my machines my python version is too old, and the package/dependencies don't want to install. On another machie the python version is too new, and the package/dependencies don't want to install.

Yeah some people have a problem and think "I'll use Python". Now they have like fifty problems.

Re: Show HN: Kitten TTS – 25MB CPU-Only, Open-Source TTS Model

#194
post #181

I tried it. Not bad for the size (of the model) and speed. Once you install all the massive number of libraries and things needed we are a far cry away from 25MB though. Cool project nonetheless.

That's a great point about the dependencies. To make the setup easier and add a few features people are asking for here (like GPU support and long text handling), I built a self-hosted server for this model: https://github.com/devnen/Kitten-TTS-Server The goal was a setup that "just works" using a standard Python virtual environment to avoid dependency conflicts. The setup is just the standard git clone, pip install…

Oh wow, really impressive. How long did this take you to make?

Re: Show HN: Kitten TTS – 25MB CPU-Only, Open-Source TTS Model

#196
post #187

Earlier quoted context omitted.

Python man

man python There you go.

  PYTHON(1)                   General Commands Manual                  PYTHON(1)
  
  NAME
       python - an object-oriented programming language

  SYNOPSIS
       python [ -c command | script | - ] [ arguments ]
  
  DESCRIPTION
       Python is the standard programming language.
Computer scientists love Python, not just because whitespace comes first ASCIIbetically, but because it's the standard. Everyone else loves Python because it's PYTHON!

Re: Show HN: Kitten TTS – 25MB CPU-Only, Open-Source TTS Model

#197

The headline feature isn’t the 25 MB footprint alone. It’s that KittenTTS is Apache-2.0. That combo means you can embed a fully offline voice in Pi Zero-class hardware or even battery-powered toys without worrying about GPUs, cloud calls, or restrictive licenses. In one stroke it turns voice everywhere from a hardware/licensing problem into a packaging problem. Quality tweaks can come later; unlocking that deployment…

> It’s that KittenTTS is Apache-2.0 Have you seen the code[1] in the repo? It uses phonemizer[2] which is GPL-3.0 licensed. In its current state, it's effectively GPL licensed. [1]: https://github.com/KittenML/KittenTTS/blob/main/kittentts/on... [2]: https://github.com/bootphon/phonemizer Edit: It looks like I replied to an LLM generated comment.

Okay, what's stopping you from feeding the code into an LLM and re-write it and make it yours? You can even add extra steps like make it analyze the code block by block then supervise it as it is rewriting it. Bam. AI age IP freedom.

Morals may stop you but other than that? IMHO all open source code is public domain code if anyone is willing to spend some AI tokens.

Re: Show HN: Kitten TTS – 25MB CPU-Only, Open-Source TTS Model

#198

System Requirements Works literally everywhere Haha, on one of my machines my python version is too old, and the package/dependencies don't want to install. On another machie the python version is too new, and the package/dependencies don't want to install.

system python is for system applications that are known to work together. If you need a python install for something else, there's venv or conda and then pip install stuff.

Re: Show HN: Kitten TTS – 25MB CPU-Only, Open-Source TTS Model

#199

System Requirements Works literally everywhere Haha, on one of my machines my python version is too old, and the package/dependencies don't want to install. On another machie the python version is too new, and the package/dependencies don't want to install.

It doesn't work on Fedora because of the lack of g++ having the right version.

Re: Show HN: Kitten TTS – 25MB CPU-Only, Open-Source TTS Model

#200

Earlier quoted context omitted.

https://github.com/KittenML/KittenTTS/issues/17

> IANAL, but AFAICS this leaves 2 options, switching the license or removing that dependency. There is a third option: asking the project for an exception. Though that is unlikely to be granted¹ leaving you back with just the other two options. And of course a forth choice: just ignore the license. This is the option taken by companies like Onyx, whose products I might otherwise be interested in… ---- [1] Those of us…

A fourth option would be a kind of dual-licensing: the project as-is is available under GPL-3.0, but the source code in this repository excluding any dependencies is also available under Apache 2.0

Any user would still effectively be bound by the GPL-3.0, but if someone can remove the GPL dependencies they could use the project under Apache

Post reply on HN