We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent bd29816 commit 18d89f5Copy full SHA for 18d89f5
src/elevenlabs/realtime_tts.py
@@ -123,7 +123,7 @@ def get_text() -> typing.Iterator[str]:
123
data = dict(text=text_chunk, try_trigger_generation=True)
124
socket.send(json.dumps(data))
125
try:
126
- data = json.loads(socket.recv(1e-4))
+ data = json.loads(socket.recv(1e-2))
127
if "audio" in data and data["audio"]:
128
yield base64.b64decode(data["audio"]) # type: ignore
129
except TimeoutError:
0 commit comments