Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Request] Coqui TTS #3

Open
bropines opened this issue Nov 7, 2023 · 2 comments
Open

[Request] Coqui TTS #3

bropines opened this issue Nov 7, 2023 · 2 comments
Labels

Comments

@bropines
Copy link

bropines commented Nov 7, 2023

🥰 需求描述 | Feature Description

It would be nice to add support for Coqui TTS. For example, if you start a local server and connect to it.

Coqui TTS docs:
https://tts.readthedocs.io/en/latest/inference.html

🧐 解决方案 | Proposed Solution

You can just give the system, or the made VENV commands like tts -list-models and so on. Just to run locally or on a server with a normal processor

📝 补充信息 | Additional Information

And as a side note. I want to use TTS voiceover for SRT and ASS subtitles, it would be nice to have such a function in the application

@lobehubbot
Copy link
Member

👀 @bropines
Thank you for raising an issue. We will investigate into the matter and get back to you as soon as possible.
Please make sure you have given us as much context as possible.
非常感谢您提交 issue。我们会尽快调查此事,并尽快回复您。 请确保您已经提供了尽可能多的背景信息。

@canisminor1990
Copy link
Member

I have encapsulated the method for calling TTS into hooks. You only need to write a fetch request that restricts the returned result to a Blob to achieve compatibility. The relevant code can be referred to as follows:

If you urgently need support from Coqui, welcome to submit a PR. Alternatively, I will try to provide support after completing the main feature development on my end.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

3 participants