Skip to content

Commit 17806e0

Browse files
committed
temporarily add stream_input onto the tts client
1 parent f14e2f0 commit 17806e0

File tree

1 file changed

+13
-0
lines changed

1 file changed

+13
-0
lines changed

src/hume/tts/client.py

Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,8 @@
44

55
import typing
66

7+
from hume.tts.stream_input.client import AsyncStreamInputClient
8+
79
from ..core.client_wrapper import AsyncClientWrapper, SyncClientWrapper
810
from ..core.request_options import RequestOptions
911
from .raw_client import AsyncRawTtsClient, RawTtsClient
@@ -481,6 +483,7 @@ def __init__(self, *, client_wrapper: AsyncClientWrapper):
481483
self._raw_client = AsyncRawTtsClient(client_wrapper=client_wrapper)
482484
self._client_wrapper = client_wrapper
483485
self._voices: typing.Optional[AsyncVoicesClient] = None
486+
self._stream_input: typing.Optional[AsyncStreamInputClient] = None
484487

485488
@property
486489
def with_raw_response(self) -> AsyncRawTtsClient:
@@ -964,3 +967,13 @@ def voices(self):
964967

965968
self._voices = AsyncVoicesClient(client_wrapper=self._client_wrapper)
966969
return self._voices
970+
971+
@property
972+
def stream_input(self):
973+
if self._stream_input is None:
974+
from .stream_input.client import AsyncStreamInputClient
975+
976+
self._stream_input = AsyncStreamInputClient(
977+
client_wrapper=self._client_wrapper,
978+
)
979+
return self._stream_input

0 commit comments

Comments
 (0)