t41372 / Open-LLM-VTuber

Talk to any LLM with fast hands-free voice interaction, Live2D taking face, and long-term memory running locally across platforms
MIT License
242 stars 21 forks source link

chatTTS Support #8

Open DDXDB opened 1 month ago

DDXDB commented 1 month ago

The following zip file contains the python implementation of ChatTTS(https://github.com/2noise/chattts) and the ChatTTS-UI(https://github.com/jianchang512/ChatTTS-ui) based API implementation. But it was written for an old version, can it be modified and integrated into a new version? chatTTS.zip

t41372 commented 1 month ago

I looked into chatTTS integration a while ago. It isn't really high on my priority list because it's a very resource-consuming TTS and can hardly run in real-time unless you have a powerful Nvidia GPU. It doesn't seem very difficult, though. I will probably implement it later.

However, I will probably not use the ChatTTS-ui as I don't see why I should use it instead of just using the original chatTTS. The original chatTTS seems fine and contains some code to host an API server.

DDXDB commented 1 month ago

I looked into chatTTS integration a while ago. It isn't really high on my priority list because it's a very resource-consuming TTS and can hardly run in real-time unless you have a powerful Nvidia GPU. It doesn't seem very difficult, though. I will probably implement it later.

However, I will probably not use the ChatTTS-ui as I don't see why I should use it instead of just using the original chatTTS. The original chatTTS seems fine and contains some code to host an API server.

I was able to run ChatTTS-UI from an intel gpu and use the api to call my hardware.

t41372 commented 1 month ago

Does the original ChatTTS not work on intel GPU? Are there any significant advantages to using ChatTTS-UI over the original ChatTTS? Regarding the version, I think you can open an issue to let ChatTTS-UI bump up their version or have someone else make a pull request. Changes to their repo are better made in their repo rather than me making some modifications here.

DDXDB commented 1 month ago

Does the original ChatTTS not work on intel GPU? Are there any significant advantages to using ChatTTS-UI over the original ChatTTS? Regarding the version, I think you can open an issue to let ChatTTS-UI bump up their version or have someone else make a pull request. Changes to their repo are better made in their repo rather than me making some modifications here.

I think there is more flexibility to connect through the API, even with a self-built back end like mine, the api is exactly the same, I have verified this in the older version of llm-vtuber and it works fine.