mirror of
https://github.com/HumanAIGC-Engineering/gradio-webrtc.git
synced 2026-02-05 18:09:23 +08:00
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:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user