Cleanup examples and fix VoicesManager types (#332)

Signed-off-by: rany <rany2@riseup.net>
This commit is contained in:
Rany
2024-11-23 16:29:13 +02:00
committed by GitHub
parent 17e5146606
commit a3d468c7c9
11 changed files with 33 additions and 138 deletions

View File

@@ -518,7 +518,7 @@ class Communicate:
json.dump(message, metadata)
metadata.write("\n")
def stream_sync(self) -> Generator[Dict[str, Any], None, None]:
def stream_sync(self) -> Generator[TTSChunk, None, None]:
"""Synchronous interface for async stream method"""
def fetch_async_items(queue: Queue) -> None: # type: ignore