Add text-to-speech-gallery + reword galleries to be "Plugin Ecosystem" (#218)

* Add code

* Update docs/text_to_speech_gallery.md

Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>

* Update docs/text_to_speech_gallery.md

Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>

---------

Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
This commit is contained in:
Freddy Boulton
2025-03-27 19:06:52 -04:00
committed by GitHub
parent b18f6331a3
commit 6235b2de61
3 changed files with 135 additions and 3 deletions

View File

@@ -14,7 +14,9 @@ class TTSOptions:
class TTSModel(Protocol):
def tts(self, text: str) -> tuple[int, NDArray[np.float32]]: ...
def tts(
self, text: str, options: TTSOptions | None = None
) -> tuple[int, NDArray[np.float32]]: ...
async def stream_tts(
self, text: str, options: TTSOptions | None = None