New Chatterboxmodel : 23 languages
I believe you’re aware that a new model supporting 23 languages was released a few hours ago.
Will your project incorporate it?
Thank you in advance.
Wow! 23 languages would be great to have this in this model! But, I thought Resolve AI was only implementing 1 language at a time?
It was a surprise for me as well; they had conducted a survey to determine which language to include.
But yesterday, they released the new weights with 23 languages : https://huggingface.co/ResembleAI/chatterbox/tree/main , along with a demo at : https://huggingface.co/spaces/ResembleAI/Chatterbox-Multilingual-TTS
That's great, but I guess they haven't updated their demo page on their main page or in the README for this release which points to: https://huggingface.co/spaces/ResembleAI/Chatterbox. Also, just my 2c, but I tested the demo at https://huggingface.co/spaces/ResembleAI/Chatterbox-Multilingual-TTS and I think it needs a little tweaking and refinement - I noticed some artifacts. Also, unless you understand the other language you are converting to, it would be hard to know if the translation was spot on LOL. Nevertheless, this is a great step forward, and I hope this gets integrated into this model, along with the issue of not saving the output file generated by this model.
Hi. I support and ask to add multilingual support if you have time and desire to do it
the model sounds good in my opinion. could you please add it here ?
Hi, this project is awesome really like it. It just work for my setup, the webui is a plus.
Looking forward for the 23 new language integration.
There are a way to install the multi language model?
Yes, it would be very cool if languages were added, thanks in advance!
I test in Spanish and has a little less quality than in english when cloning voices, but is not bad
FYI: I added minimal support for chatterbox multilingual in my fork: https://github.com/mschmidm/Chatterbox-TTS-Server Feel free to check it out until this is fully implemented here. Some changes might not be needed when not running on Mac with Apple Silicon.
FYI: I added minimal support for chatterbox multilingual in my fork: https://github.com/mschmidm/Chatterbox-TTS-Server Feel free to check it out until this is fully implemented here. Some changes might not be needed when not running on Mac with Apple Silicon.
Does the Docker compose version work on your fork?
FYI: I added minimal support for chatterbox multilingual in my fork: https://github.com/mschmidm/Chatterbox-TTS-Server Feel free to check it out until this is fully implemented here. Some changes might not be needed when not running on Mac with Apple Silicon.
Does the Docker compose version work on your fork?
For me (cpu only) it does not work. I got a module not found exception :
chatterbox-tts-server-1 | Traceback (most recent call last):
chatterbox-tts-server-1 | File "/app/server.py", line 62, in <module>
chatterbox-tts-server-1 | import engine # TTS Engine interface
chatterbox-tts-server-1 | File "/app/engine.py", line 11, in <module>
chatterbox-tts-server-1 | from chatterbox.mtl_tts import ChatterboxMultilingualTTS
chatterbox-tts-server-1 | ModuleNotFoundError: No module named 'chatterbox.mtl_tts'
chatterbox-tts-server-1 exited with code 1 (restarting)
I was able to fix this by changing chatterbox==0.1.2 to chatterbox==0.1.3 in requirements.txt . Chatterbox 0.1.2 does not include support for the multilingual model. For Chatterbox 0.1.3 you need numpy however so i added "python3-numpy" to the packages installed in the dockerfile.
I got it to start and access the webinterface but loading of the models fails for cpu only systems. Same issue with Chatterbox 0.1.4:
RuntimeError: Attempting to deserialize object on a CUDA device but torch.cuda.is_available() is False. If you are running on a CPU-only machine, please use torch.load with map_location=torch.device('cpu') to map your storages to the CPU.
Edit : Got It Working. The Changes done to support MPS (patched_torch_load) are also needed whenever cpu is used.
@mschmidm I got your fork running, but even with a custom german voice sample and german text the audio still has a very strong English accent so I believe it is still using English. I changed language under generation_defaults to "de" and changed language_id: str = "en", to language_id: str = "de", in engine.py. Any Ideas whats wrong?
@mschmidm I got your fork running, but even with a custom german voice sample and german text the audio still has a very strong English accent so I believe it is still using English. I changed
languageundergeneration_defaultsto "de" and changedlanguage_id: str = "en", tolanguage_id: str = "de",inengine.py. Any Ideas whats wrong?
Unfortunately, I have no idea. For me it worked really well, but I switched to just using the chatterbox sample scripts without all the other things in this repo. Therefore, I did not put more work into my fork of this repo. Nevertheless, I am sure that you must be really close to the solution. Good luck! :)
Friends,
Resemble AI has released a new model, the link is: https://huggingface.co/ResembleAI/chatterbox/blob/main/t3_mtl23ls_v2.safetensors
I would like to ask you how this new model can be added to the existing Chatterbox TTS server. I saw your code on GitHub, which is available here: https://github.com/mschmidm/Chatterbox-TTS-Server
Can you tell me how this new model will be added to the engine.py file? If there are any additional settings or code that need to be added, please let me know.
Also, I would like to know how the language can be changed in the existing TTS server. For example, if the original model is English and I want to use it for (other language ) or any other language, what changes are required in the index.html or other configuration files in the UI folder.
Yes, I absolutely plan to support the new multilingual model.
Just a heads up on the roadmap: I just pushed v1.0.0, which strictly uses the Standard English Model. I made this choice because the specialized English model still outperforms the multilingual one for English tasks.
The issue with these multilingual models is that they have to split their parameter capacity across 23 languages. This causes "capacity dilution", basically, the English voice cloning gets slightly worse, and you sometimes get weird artifacts or accent bleed that the dedicated model doesn't have.
For now, I'm keeping v1.0.0 locked to the English model for stability, but the multilingual support will come in a future update as an optional setting.
I'm moving all the tracking for this over to Issue #77 so we have one place to discuss it. I'll lock this thread to keep things tidy, but definitely hop over there to follow the progress.
The 23-language multilingual model is supported. Set model.repo_id to one of chatterbox, chatterbox-turbo, or chatterbox-multilingual in config.yaml, and the Web UI exposes a language dropdown (22 languages). Closing as done.