Code Monkey home page Code Monkey logo

Comments (9)

cmp-nct avatar cmp-nct commented on July 30, 2024

Only if the phonemizer library would be changed it needs to be done with GPL, and even in that case only the new library and not the entire project would be GPL licensed.
Using it is no problem

from styletts2.

fakerybakery avatar fakerybakery commented on July 30, 2024

Hi, unfortunately GPL requires all software that links to it to be also licensed under GPL. It would be amazing to keep this software MIT-licensed, so that's why I suggest switching to deep_phonemizer.

from styletts2.

cmp-nct avatar cmp-nct commented on July 30, 2024

Hi, unfortunately GPL requires all software that links to it to be also licensed under GPL. It would be amazing to keep this software MIT-licensed, so that's why I suggest switching to deep_phonemizer.

wow what a nightmare, I forgot about that change.
Well it's not enforceable, you can just build a slim wrapper with a "very similar" API and make it interchangebale.
There are ways to call DLL functions from windows command line (same in linux), does that make the console using that and the tool that can universally call DLL functions suddenly GPL violating ?
It's not enforceable. Though I agree that given that nasty "idea" GPL should be avoided when possible.

from styletts2.

yl4579 avatar yl4579 commented on July 30, 2024

I took it from VITS, which is also MIT and uses phonemizer. I didn't know it was actually GPL. How does VITS stay MIT while using phonemizer then?

from styletts2.

cmp-nct avatar cmp-nct commented on July 30, 2024

Here an example from multi billion USD company: https://github.com/mozilla/TTS
They also use phonemizer but use the Mozilla license.

It's unpleasant to have such legal quirks lingering but if it ever becomes an issue I'm quite sure there are many ways to work around that.

  • A wrapper library that people include themselves for example, with exactly the same interface

Of course, if that could be avoided without much work, even better.

from styletts2.

clcarwin avatar clcarwin commented on July 30, 2024

I have searched the whole repository, the phonemizer is used in Demo/*.ipynb and Colab/*.ipynb. The ipynb file is the document and not the code. And the core source code of StyleTTS2 is NOT use any phonemizer.

For GPL we can use it as binary such as gcc, and not to link lib or import. Someone can call espeak-ng binary command to get G2P function, or use speechbrain/soundchoice-g2p vinai/xphonebert-base.

The conclusion is StyleTTS2 use MIT license is totally OK.

from styletts2.

yl4579 avatar yl4579 commented on July 30, 2024

@clcarwin Thanks for your help, I can mark this as solved now.

from styletts2.

fakerybakery avatar fakerybakery commented on July 30, 2024

Yes, thanks for the clarification!!

from styletts2.

sidharthrajaram avatar sidharthrajaram commented on July 30, 2024

In case anyone's interested, here's a MIT licensed python package of StyleTTS2 (just inference) that uses Gruut as the phoneme converter -- it's still not as good as phonemizers built on espeak but I found it was the best alternative that was MIT licensed.

from styletts2.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.