-
Notifications
You must be signed in to change notification settings - Fork 896
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
feat: support live TTS of fish audio #555
Conversation
Signed-off-by: Frost Ming <[email protected]>
voice always the same |
It seems like an upstream issue. The voice is not changeable in websocket mode via |
已经复现,转交给相关同事在看了。 |
验证过了,已经修复。 |
现在的情况是不播放了。。。 |
测了几遍都没问题,能不能看看具体是什么错误?网络?返回的二进制不是音频流?还是提前中断? |
Traceback (most recent call last):
File "/Users/fming/wkspace/github/tetos/.venv/lib/python3.11/site-packages/fish_audio_sdk/websocket.py", line 135, in tts
message = await ws.receive_bytes()
^^^^^^^^^^^^^^^^^^^^^^^^
File "/Users/fming/wkspace/github/tetos/.venv/lib/python3.11/site-packages/httpx_ws/_api.py", line 883, in receive_bytes
event = await self.receive(timeout)
^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/Users/fming/wkspace/github/tetos/.venv/lib/python3.11/site-packages/httpx_ws/_api.py", line 805, in receive
raise WebSocketDisconnect(event.code, event.reason)
httpx_ws._exceptions.WebSocketDisconnect: (<CloseReason.NO_STATUS_RCVD: 1005>, '') |
明白了,你是手写的一个参数字典。之前 api 校验时默认值没处理好导致缺了个参数无法通过校验,现在滚动更新上去了。 |
Signed-off-by: Frost Ming <[email protected]>
@abersheeran @frostming Thanks |
Signed-off-by: Frost Ming [email protected]