Open bropines opened 1 year ago
👀 @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。我们会尽快调查此事,并尽快回复您。 请确保您已经提供了尽可能多的背景信息。
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:
useTTS
: https://github.com/lobehub/lobe-tts/blob/master/src/useTTS/index.tsuseOpenaiTTS
: https://github.com/lobehub/lobe-tts/blob/master/src/useOpenaiTTS/index.tsfetchOpenaiTTS
: https://github.com/lobehub/lobe-tts/blob/master/src/services/fetchOpenaiTTS.tsIf 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.
🥰 需求描述 | 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